diff options
-rw-r--r-- | Userland/Libraries/LibJS/Tests/operators/modulo-basic.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Tests/operators/modulo-basic.js b/Userland/Libraries/LibJS/Tests/operators/modulo-basic.js index 0c30123be9..7f8cd774b9 100644 --- a/Userland/Libraries/LibJS/Tests/operators/modulo-basic.js +++ b/Userland/Libraries/LibJS/Tests/operators/modulo-basic.js @@ -23,7 +23,7 @@ test("basic functionality", () => { expect(1 % -0).toBeNaN(); expect(0 % 5).toBe(0); expect(-0 % 5).toBe(-0); - expect((-1) % -1).toBe(-0); + expect(-1 % -1).toBe(-0); // test262 examples expect(1 % null).toBeNaN(); |