1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00

LibJS: Run "prettier" on the tests :^)

This commit is contained in:
Andreas Kling 2020-12-27 23:13:52 +01:00
parent 72b1998f0d
commit a103eae0d4

View file

@ -40,11 +40,11 @@ describe("correct behavior", () => {
}); });
test("numeric keys", () => { test("numeric keys", () => {
const hex = {0x10: "16"}; const hex = { 0x10: "16" };
const oct = {0o10: "8"}; const oct = { 0o10: "8" };
const bin = {0b10: "2"}; const bin = { 0b10: "2" };
const float = {.5: "0.5"}; const float = { 0.5: "0.5" };
expect(hex["16"]).toBe("16"); expect(hex["16"]).toBe("16");
expect(oct["8"]).toBe("8"); expect(oct["8"]).toBe("8");
expect(bin["2"]).toBe("2"); expect(bin["2"]).toBe("2");