]> granicus.if.org Git - php/commitdiff
Fix #77940: test using outdated mon_thousands_sep for Swedish
authorChristoph M. Becker <cmbecker69@gmx.de>
Thu, 25 Apr 2019 21:28:41 +0000 (23:28 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 25 Apr 2019 21:28:41 +0000 (23:28 +0200)
Of course, we should expect a comma, not a period.

ext/standard/tests/strings/bug65769.phpt

index e30d0f41ba7a7fcbb6ee373ec251a4a2dc441ec0..efe5788ce4c56a03f89ce6a48c5b0963162254f9 100644 (file)
@@ -27,7 +27,7 @@ foreach ($locales as $locale) {
                $lconv['mon_thousands_sep']
        );
        if ($locale === 'Swedish_Sweden.1252') {
-               var_dump(in_array($lconv['mon_thousands_sep'], [',', ' ']));
+               var_dump(in_array($lconv['mon_thousands_sep'], ['.', ' ']));
        }
        echo '++++++++++++++++++++++', "\n";
 }