diff options
Diffstat (limited to 'std/textproto/reader_test.ts')
-rw-r--r-- | std/textproto/reader_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/std/textproto/reader_test.ts b/std/textproto/reader_test.ts index 32182ce65..9eb822ecb 100644 --- a/std/textproto/reader_test.ts +++ b/std/textproto/reader_test.ts @@ -4,7 +4,7 @@ // license that can be found in the LICENSE file. import { BufReader } from "../io/bufio.ts"; -import { TextProtoReader, ProtocolError } from "./mod.ts"; +import { TextProtoReader } from "./mod.ts"; import { stringsReader } from "../io/util.ts"; import { assert, @@ -134,7 +134,7 @@ test({ } catch (e) { err = e; } - assert(err instanceof ProtocolError); + assert(err instanceof Deno.errors.InvalidData); } }); @@ -156,7 +156,7 @@ test({ } catch (e) { err = e; } - assert(err instanceof ProtocolError); + assert(err instanceof Deno.errors.InvalidData); } }); |