Skip to content

Commit 92c2cbf

Browse files
authored
test(bundle): Make Temporal tests locale independent (#639)
1 parent 30236ce commit 92c2cbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fluent-bundle/test/temporal_test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ suite("Temporal support", function () {
4747
});
4848

4949
test("direct interpolation", function () {
50-
assert.strictEqual(msg("direct"), arg.toLocaleString());
50+
assert.strictEqual(msg("direct"), arg.toLocaleString("en-US"));
5151
});
5252

5353
test("run through DATETIME()", function () {
54-
assert.strictEqual(msg("dt"), arg.toLocaleString());
54+
assert.strictEqual(msg("dt"), arg.toLocaleString("en-US"));
5555
});
5656

5757
test("run through DATETIME() with month option", function () {

0 commit comments

Comments
 (0)