diff options
Diffstat (limited to 'std/textproto/reader_test.ts')
-rw-r--r-- | std/textproto/reader_test.ts | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/std/textproto/reader_test.ts b/std/textproto/reader_test.ts index 8f4b07242..32182ce65 100644 --- a/std/textproto/reader_test.ts +++ b/std/textproto/reader_test.ts @@ -9,16 +9,11 @@ import { stringsReader } from "../io/util.ts"; import { assert, assertEquals, - assertNotEquals, - assertThrows + assertThrows, + assertNotEOF } from "../testing/asserts.ts"; const { test } = Deno; -function assertNotEOF<T extends {}>(val: T | Deno.EOF): T { - assertNotEquals(val, Deno.EOF); - return val as T; -} - function reader(s: string): TextProtoReader { return new TextProtoReader(new BufReader(stringsReader(s))); } |