]> granicus.if.org Git - php/commitdiff
Drop non-well numeric string in Intl test
authorGeorge Peter Banyard <girgias@php.net>
Sun, 28 Jun 2020 15:49:54 +0000 (17:49 +0200)
committerGeorge Peter Banyard <girgias@php.net>
Sun, 28 Jun 2020 17:30:07 +0000 (19:30 +0200)
ext/intl/tests/bug53735.phpt

index 66370e61f2e4ce76d326ec428d055f116b059c81..280babb852ad65191f5fdd29b2b732f89376b046 100644 (file)
@@ -12,7 +12,6 @@ var_dump(numfmt_format($fmt, 5.5));
 setlocale(LC_ALL, "da_DK.UTF-8");
 
 var_dump(numfmt_format($fmt, 5.5));
-var_dump(numfmt_format($fmt, "5,5"));
 
 
 $fmt = new \NumberFormatter("de_DE", \NumberFormatter::DECIMAL);
@@ -25,8 +24,5 @@ var_dump($f->format(0.26));
 --EXPECTF--
 string(%d) "5,50 kr%A"
 string(%d) "5,50 kr%A"
-
-Notice: A non well formed numeric value encountered in %s on line %d
-string(%d) "5,00 kr%A"
 string(5) "23,25"
 string(3) "26%"