]> Lady’s Gitweb - Pisces/commitdiff
Fix linting errors in string.*
authorLady <redacted>
Sun, 25 Jun 2023 00:09:30 +0000 (17:09 -0700)
committerLady <redacted>
Sun, 25 Jun 2023 05:23:24 +0000 (22:23 -0700)
string.js
string.test.js

index c8805d9d3d63d48a508f29fbeee8e83dc61ef8ba..219fe4892273513ed996f9c0adbc65e4be7ecd54 100644 (file)
--- a/string.js
+++ b/string.js
@@ -15,7 +15,7 @@ import {
   objectCreate,
   setPrototype,
 } from "./object.js";
   objectCreate,
   setPrototype,
 } from "./object.js";
-import { ITERATOR, TO_STRING_TAG, type } from "./value.js";
+import { ITERATOR, TO_STRING_TAG } from "./value.js";
 
 export const {
   /**
 
 export const {
   /**
index 95c715e3636b5bee2b1fef6e775a2ccfcf5a3549..e3d10968b0bb3bd401a2e564846a32b9314d4b60 100644 (file)
@@ -10,7 +10,6 @@
 import {
   assert,
   assertEquals,
 import {
   assert,
   assertEquals,
-  assertSpyCall,
   assertSpyCalls,
   assertStrictEquals,
   assertThrows,
   assertSpyCalls,
   assertStrictEquals,
   assertThrows,
@@ -101,6 +100,7 @@ describe("Matcher", () => {
           return "etaoin";
         },
       });
           return "etaoin";
         },
       });
+      assertEquals([...result], ["etaoin", "e"]);
       assertSpyCalls(constraint, 1);
       assertStrictEquals(constraint.calls[0].args[0], "etaoin");
       assertEquals([...constraint.calls[0].args[1]], ["etaoin", "e"]);
       assertSpyCalls(constraint, 1);
       assertStrictEquals(constraint.calls[0].args[0], "etaoin");
       assertEquals([...constraint.calls[0].args[1]], ["etaoin", "e"]);
This page took 0.023888 seconds and 4 git commands to generate.