PhpSpreadsheet/tests
Derek Bonner 01501b6ff2 Remove locale from format string to prevent formatting error (#644)
When a formatting string has a locale in it an error can occur when outputting. For example when the format string with a locale such as `[$-1010409]#,##0.00;-#,##0.00` appears, a value of 9.98 comes back as $9.98. This is because at https://github.com/PHPOffice/PhpSpreadsheet/blob/1.4.0/src/PhpSpreadsheet/Style/NumberFormat.php#L711 the numberFormat regex will match to the zeros inside the locale ([$-1010409]). Attempts to adjust the numberFormat regex caused regressions in other tests. Adding another step to filter out the locale caused no regression.
2018-09-28 21:28:40 +09:00
..
PhpSpreadsheetTests Allow iterators to go out of bounds with prev() 2018-08-19 14:02:17 +09:00
data Remove locale from format string to prevent formatting error (#644) 2018-09-28 21:28:40 +09:00
bootstrap.php Simplify bootstrap for tests 2017-01-23 15:05:41 +09:00