summaryrefslogtreecommitdiff
path: root/io/writers_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'io/writers_test.ts')
-rw-r--r--io/writers_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/writers_test.ts b/io/writers_test.ts
index 94c58417d..ba4d7ed89 100644
--- a/io/writers_test.ts
+++ b/io/writers_test.ts
@@ -7,7 +7,7 @@ import { copyN } from "./ioutil.ts";
test(async function ioStringWriter() {
const w = new StringWriter("base");
const r = new StringReader("0123456789");
- const n = await copyN(w, r, 4);
+ await copyN(w, r, 4);
assert.equal(w.toString(), "base0123");
await copy(w, r);
assert.equal(w.toString(), "base0123456789");