diff --git a/test/javascripts/lib/i18n-test.js.es6 b/test/javascripts/lib/i18n-test.js.es6 index 618feb58d6b..5a106a6b01e 100644 --- a/test/javascripts/lib/i18n-test.js.es6 +++ b/test/javascripts/lib/i18n-test.js.es6 @@ -44,13 +44,13 @@ module("lib:i18n", { // fake pluralization rules I18n.pluralizationRules.fr = function(n) { - if (n == 0) return "zero"; - if (n == 1) return "one"; - if (n == 2) return "two"; + if (n === 0) return "zero"; + if (n === 1) return "one"; + if (n === 2) return "two"; if (n >= 3 && n <= 9) return "few"; if (n >= 10 && n <= 99) return "many"; return "other"; - } + }; }, teardown() {