summaryrefslogtreecommitdiff
path: root/std/testing
diff options
context:
space:
mode:
Diffstat (limited to 'std/testing')
-rw-r--r--std/testing/asserts.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/std/testing/asserts.ts b/std/testing/asserts.ts
index 21d699e5c..6dd3af226 100644
--- a/std/testing/asserts.ts
+++ b/std/testing/asserts.ts
@@ -379,8 +379,3 @@ export function unimplemented(msg?: string): never {
export function unreachable(): never {
throw new AssertionError("unreachable");
}
-
-export function assertNotEOF<T extends {}>(val: T | Deno.EOF): T {
- assertNotEquals(val, Deno.EOF);
- return val as T;
-}