From a103eae0d41d80e3252ecc18dcd4221efc21ea98 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 27 Dec 2020 23:13:52 +0100 Subject: [PATCH] LibJS: Run "prettier" on the tests :^) --- Libraries/LibJS/Tests/object-basic.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Libraries/LibJS/Tests/object-basic.js b/Libraries/LibJS/Tests/object-basic.js index 36c047682f..5b3b78fb19 100644 --- a/Libraries/LibJS/Tests/object-basic.js +++ b/Libraries/LibJS/Tests/object-basic.js @@ -40,11 +40,11 @@ describe("correct behavior", () => { }); test("numeric keys", () => { - const hex = {0x10: "16"}; - const oct = {0o10: "8"}; - const bin = {0b10: "2"}; - const float = {.5: "0.5"}; - + const hex = { 0x10: "16" }; + const oct = { 0o10: "8" }; + const bin = { 0b10: "2" }; + const float = { 0.5: "0.5" }; + expect(hex["16"]).toBe("16"); expect(oct["8"]).toBe("8"); expect(bin["2"]).toBe("2");