diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Tests')
-rw-r--r-- | Userland/Libraries/LibJS/Tests/builtins/Intl/DateTimeFormat/DateTimeFormat.prototype.resolvedOptions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/DateTimeFormat/DateTimeFormat.prototype.resolvedOptions.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/DateTimeFormat/DateTimeFormat.prototype.resolvedOptions.js index da70832e14..e9157c799c 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Intl/DateTimeFormat/DateTimeFormat.prototype.resolvedOptions.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/DateTimeFormat/DateTimeFormat.prototype.resolvedOptions.js @@ -165,14 +165,14 @@ describe("correct behavior", () => { test("minute", () => { ["2-digit", "numeric"].forEach(minute => { const en = new Intl.DateTimeFormat("en", { minute: minute }); - expect(en.resolvedOptions().minute).toBe(minute); + expect(en.resolvedOptions().minute).toBe("2-digit"); }); }); test("second", () => { ["2-digit", "numeric"].forEach(second => { const en = new Intl.DateTimeFormat("en", { second: second }); - expect(en.resolvedOptions().second).toBe(second); + expect(en.resolvedOptions().second).toBe("2-digit"); }); }); |