summaryrefslogtreecommitdiff
path: root/std/encoding/binary_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/encoding/binary_test.ts')
-rw-r--r--std/encoding/binary_test.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/std/encoding/binary_test.ts b/std/encoding/binary_test.ts
index 9b541746b..a9f116ebc 100644
--- a/std/encoding/binary_test.ts
+++ b/std/encoding/binary_test.ts
@@ -1,7 +1,6 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assertEquals, assertThrowsAsync } from "../testing/asserts.ts";
-import { UnexpectedEOFError } from "../io/bufio.ts";
import {
getNBytes,
putVarbig,
@@ -27,7 +26,7 @@ Deno.test(async function testGetNBytesThrows(): Promise<void> {
const buff = new Deno.Buffer(data.buffer);
assertThrowsAsync(async () => {
await getNBytes(buff, 8);
- }, UnexpectedEOFError);
+ }, Deno.errors.UnexpectedEof);
});
Deno.test(async function testPutVarbig(): Promise<void> {