diff options
Diffstat (limited to 'std/textproto/test.ts')
-rw-r--r-- | std/textproto/test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/std/textproto/test.ts b/std/textproto/test.ts index ec66bfd8c..7539e9779 100644 --- a/std/textproto/test.ts +++ b/std/textproto/test.ts @@ -5,12 +5,12 @@ import { BufReader } from "../io/bufio.ts"; import { TextProtoReader } from "./mod.ts"; -import { stringsReader } from "../io/util.ts"; +import { StringReader } from "../io/readers.ts"; import { assert, assertEquals, assertThrows } from "../testing/asserts.ts"; const { test } = Deno; function reader(s: string): TextProtoReader { - return new TextProtoReader(new BufReader(stringsReader(s))); + return new TextProtoReader(new BufReader(new StringReader(s))); } test({ @@ -187,7 +187,7 @@ test({ const input = "abcdefghijklmnopqrstuvwxyz"; const bufSize = 25; const tp = new TextProtoReader( - new BufReader(stringsReader(input), bufSize) + new BufReader(new StringReader(input), bufSize) ); const line = await tp.readLine(); assertEquals(line, input); |