diff options
Diffstat (limited to 'tests/unit/error_test.ts')
-rw-r--r-- | tests/unit/error_test.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/error_test.ts b/tests/unit/error_test.ts index 9ba09ce0d..bf0ef5062 100644 --- a/tests/unit/error_test.ts +++ b/tests/unit/error_test.ts @@ -22,6 +22,7 @@ Deno.test("Errors work", () => { assert(new Deno.errors.Http("msg") instanceof Error); assert(new Deno.errors.Busy("msg") instanceof Error); assert(new Deno.errors.NotSupported("msg") instanceof Error); + assert(new Deno.errors.NotCapable("msg") instanceof Error); }); Deno.test("Errors have some tamper resistance", () => { |