diff options
Diffstat (limited to 'js/v8_source_maps_test.ts')
-rw-r--r-- | js/v8_source_maps_test.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/js/v8_source_maps_test.ts b/js/v8_source_maps_test.ts deleted file mode 100644 index 90c123431..000000000 --- a/js/v8_source_maps_test.ts +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. -import { test, assert, assertEqual } from "./test_util.ts"; - -// This test demonstrates a bug: -// https://github.com/denoland/deno/issues/808 -test(function evalErrorFormatted() { - let err; - try { - eval("boom"); - } catch (e) { - err = e; - } - assert(!!err); - // tslint:disable-next-line:no-unused-expression - err.stack; // This would crash if err.stack is malformed - assertEqual(err.name, "ReferenceError"); -}); |