From: Lady Date: Sun, 25 Jun 2023 00:09:30 +0000 (-0700) Subject: Fix linting errors in string.* X-Git-Tag: 0.4.0~7 X-Git-Url: https://git.ladys.computer/Pisces/commitdiff_plain/6413f2e49d537f7ad7c0000939736fb71fc3930d?ds=sidebyside;hp=da52ccecff0e48d48ea235b4d0def93b149eb0c1 Fix linting errors in string.* --- diff --git a/string.js b/string.js index c8805d9..219fe48 100644 --- a/string.js +++ b/string.js @@ -15,7 +15,7 @@ import { objectCreate, setPrototype, } from "./object.js"; -import { ITERATOR, TO_STRING_TAG, type } from "./value.js"; +import { ITERATOR, TO_STRING_TAG } from "./value.js"; export const { /** diff --git a/string.test.js b/string.test.js index 95c715e..e3d1096 100644 --- a/string.test.js +++ b/string.test.js @@ -10,7 +10,6 @@ import { assert, assertEquals, - assertSpyCall, assertSpyCalls, assertStrictEquals, assertThrows, @@ -101,6 +100,7 @@ describe("Matcher", () => { return "etaoin"; }, }); + assertEquals([...result], ["etaoin", "e"]); assertSpyCalls(constraint, 1); assertStrictEquals(constraint.calls[0].args[0], "etaoin"); assertEquals([...constraint.calls[0].args[1]], ["etaoin", "e"]);