@@ -704,7 +704,7 @@ module.exports.teststrings = {
704704 } else {
705705 test . equal ( str . formatChoice ( [ params . num , params . pages ] , params ) , "0 items (many) on 0 pages (many)." ) ;
706706 }
707- } else if ( platform == "browser" ) {
707+ } else if ( platform === "browser" ) {
708708 test . equal ( str . formatChoice ( [ params . num , params . pages ] , params ) , "0 items (many) on 0 pages (many)." ) ;
709709 } else {
710710 test . equal ( str . formatChoice ( [ params . num , params . pages ] , params ) , "0 items on 0 pages." ) ;
@@ -3029,7 +3029,7 @@ module.exports.teststrings = {
30293029 } else {
30303030 test . equal ( str . formatChoice ( 0 ) , "Default items" ) ;
30313031 }
3032- } else if ( platform == "browser" ) {
3032+ } else if ( platform === "browser" ) {
30333033 test . equal ( str . formatChoice ( 0 ) , "Default items" ) ;
30343034 } else {
30353035 test . equal ( str . formatChoice ( 0 ) , "There are no items." ) ;
@@ -3255,7 +3255,7 @@ module.exports.teststrings = {
32553255 } else {
32563256 test . equal ( str . formatChoice ( 0 ) , "The item is one" ) ;
32573257 }
3258- } else if ( platform == "browser" ) {
3258+ } else if ( platform === "browser" ) {
32593259 test . equal ( str . formatChoice ( 0 ) , "The item is one" ) ;
32603260 } else {
32613261 test . equal ( str . formatChoice ( 0 ) , "There are no items." ) ;
@@ -3308,7 +3308,7 @@ module.exports.teststrings = {
33083308 } else {
33093309 test . equal ( str . formatChoice ( 0 ) , "Default items" ) ;
33103310 }
3311- } else if ( platform == "browser" ) {
3311+ } else if ( platform === "browser" ) {
33123312 test . equal ( str . formatChoice ( 0 ) , "Default items" ) ;
33133313 } else {
33143314 test . equal ( str . formatChoice ( 0 ) , "There are no items." ) ;
@@ -3339,7 +3339,7 @@ module.exports.teststrings = {
33393339 } else {
33403340 test . equal ( str . formatChoice ( 0 ) , "The items are many" ) ;
33413341 }
3342- } else if ( platform == "browser" ) {
3342+ } else if ( platform === "browser" ) {
33433343 test . equal ( str . formatChoice ( 0 ) , "The items are many" ) ;
33443344 } else {
33453345 test . equal ( str . formatChoice ( 0 ) , "There are no items." ) ;
@@ -3868,7 +3868,7 @@ module.exports.teststrings = {
38683868 } else {
38693869 test . equal ( str . formatChoice ( 0 ) , "The items are few" ) ;
38703870 }
3871- } else if ( platform == "browser" ) {
3871+ } else if ( platform === "browser" ) {
38723872 test . equal ( str . formatChoice ( 0 ) , "The items are few" ) ;
38733873 } else {
38743874 test . equal ( str . formatChoice ( 0 ) , "There are no items." ) ;
@@ -4112,7 +4112,7 @@ module.exports.teststrings = {
41124112 } else {
41134113 test . equal ( str . formatChoice ( 5.2 ) , "Default items" ) ; // wrong result based on cldr41
41144114 }
4115- } else if ( platform == "browser" ) {
4115+ } else if ( platform === "browser" ) {
41164116 test . equal ( str . formatChoice ( 5.2 ) , "Default items" ) ; // wrong result based on cldr41
41174117 } else {
41184118 test . equal ( str . formatChoice ( 5.2 ) , "The items are few" ) ;
@@ -4230,7 +4230,7 @@ module.exports.teststrings = {
42304230 } else {
42314231 test . equal ( str . formatChoice ( 0.0 ) , "Default items" ) ;
42324232 }
4233- } else if ( platform == "browser" ) {
4233+ } else if ( platform === "browser" ) {
42344234 test . equal ( str . formatChoice ( 0.0 ) , "Default items" ) ;
42354235 } else {
42364236 test . equal ( str . formatChoice ( 0.0 ) , "There are no items." ) ;
@@ -4281,7 +4281,7 @@ module.exports.teststrings = {
42814281 } else {
42824282 test . equal ( str . formatChoice ( 1.5 ) , "The item is one" ) ;
42834283 }
4284- } else if ( platform == "browser" ) {
4284+ } else if ( platform === "browser" ) {
42854285 test . equal ( str . formatChoice ( 1.5 ) , "The item is one" ) ;
42864286 } else {
42874287 test . equal ( str . formatChoice ( 1.5 ) , "Default items" ) ;
@@ -4590,7 +4590,7 @@ module.exports.teststrings = {
45904590 } else {
45914591 test . equal ( str . formatChoice ( 3.1e6 ) , "Default items" ) ; // wrong result based on cldr41
45924592 }
4593- } else if ( platform == "browser" ) {
4593+ } else if ( platform === "browser" ) {
45944594 test . equal ( str . formatChoice ( 3.1e6 ) , "Default items" ) ; // wrong result based on cldr41
45954595 } else {
45964596 test . equal ( str . formatChoice ( 3.1e6 ) , "The items are many" ) ;
@@ -4621,7 +4621,7 @@ module.exports.teststrings = {
46214621 } else {
46224622 test . equal ( str . formatChoice ( 2.1e6 ) , "Default items" ) ; // wrong result based on cldr41
46234623 }
4624- } else if ( platform == "browser" ) {
4624+ } else if ( platform === "browser" ) {
46254625 test . equal ( str . formatChoice ( 2.1e6 ) , "Default items" ) ;
46264626 //wrong result based on cldr (tested on chrome 104.0)
46274627 } else {
0 commit comments