1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

LibJS/Tests: Fix failing Array.prototype.toLocaleString() test

This commit is contained in:
Linus Groh 2021-11-17 10:00:20 +00:00
parent 39ab1a8999
commit f1784c9c87

View file

@ -61,7 +61,7 @@ describe("normal behavior", () => {
});
test("with options", () => {
expect([12, 34].toLocaleString("en")).toBe("12");
expect([12, 34].toLocaleString("en")).toBe("12,34");
expect([12, 34].toLocaleString("ar")).toBe("\u0661\u0662,\u0663\u0664");
expect([0.234].toLocaleString("en", { style: "percent" })).toBe("23%");