Skip to content

Commit d945898

Browse files
committed
ci uses different locale
1 parent 0e28cb1 commit d945898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright/src/test/java/com/microsoft/playwright/TestWorkers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ void shouldFormatNumberUsingContextLocale() {
194194
Worker worker = page.waitForWorker(() -> page.evaluate(
195195
"() => new Worker(URL.createObjectURL(new Blob(['console.log(1)'], {type: 'application/javascript'})))"));
196196
// https://github.com/microsoft/playwright/issues/38919
197-
String expected = isFirefox() ? "10.000,2" : "10\u00A0000,2";
197+
String expected = isFirefox() ? "10,000.2" : "10\u00A0000,2";
198198
assertEquals(expected, worker.evaluate("() => (10000.20).toLocaleString()"));
199199
context.close();
200200
}

0 commit comments

Comments
 (0)