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:
parent
39ab1a8999
commit
f1784c9c87
1 changed files with 1 additions and 1 deletions
|
@ -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%");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue