diff options
Diffstat (limited to 'io/writers_test.ts')
| -rw-r--r-- | io/writers_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io/writers_test.ts b/io/writers_test.ts index 847fc059b..5d6ed33ef 100644 --- a/io/writers_test.ts +++ b/io/writers_test.ts @@ -1,6 +1,6 @@ const { copy } = Deno; import { test } from "../testing/mod.ts"; -import { assertEq } from "../testing/asserts.ts"; +import { assertEquals } from "../testing/asserts.ts"; import { StringWriter } from "./writers.ts"; import { StringReader } from "./readers.ts"; import { copyN } from "./ioutil.ts"; @@ -9,7 +9,7 @@ test(async function ioStringWriter() { const w = new StringWriter("base"); const r = new StringReader("0123456789"); await copyN(w, r, 4); - assertEq(w.toString(), "base0123"); + assertEquals(w.toString(), "base0123"); await copy(w, r); - assertEq(w.toString(), "base0123456789"); + assertEquals(w.toString(), "base0123456789"); }); |
