diff options
Diffstat (limited to 'cli/tests')
4 files changed, 0 insertions, 18 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index 1cd1db0ef..d9c20907d 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -2357,12 +2357,6 @@ itest!(long_data_url_formatting { exit_code: 1, }); -itest!(eval_context_throw_with_conflicting_source { - args: "run eval_context_throw_with_conflicting_source.ts", - output: "eval_context_throw_with_conflicting_source.ts.out", - exit_code: 1, -}); - itest!(eval_context_throw_dom_exception { args: "run eval_context_throw_dom_exception.js", output: "eval_context_throw_dom_exception.js.out", diff --git a/cli/tests/testdata/eval_context_conflicting_source.ts b/cli/tests/testdata/eval_context_conflicting_source.ts deleted file mode 100644 index 671740113..000000000 --- a/cli/tests/testdata/eval_context_conflicting_source.ts +++ /dev/null @@ -1 +0,0 @@ -throw new Error("foo"); diff --git a/cli/tests/testdata/eval_context_throw_with_conflicting_source.ts b/cli/tests/testdata/eval_context_throw_with_conflicting_source.ts deleted file mode 100644 index c5bc21e48..000000000 --- a/cli/tests/testdata/eval_context_throw_with_conflicting_source.ts +++ /dev/null @@ -1,6 +0,0 @@ -// deno-lint-ignore no-explicit-any -const [, errorInfo] = (Deno as any).core.evalContext( - '/* aaaaaaaaaaaaaaaaa */ throw new Error("foo")', - new URL("eval_context_conflicting_source.ts", import.meta.url).href, -); -throw errorInfo.thrown; diff --git a/cli/tests/testdata/eval_context_throw_with_conflicting_source.ts.out b/cli/tests/testdata/eval_context_throw_with_conflicting_source.ts.out deleted file mode 100644 index 8dfbd0431..000000000 --- a/cli/tests/testdata/eval_context_throw_with_conflicting_source.ts.out +++ /dev/null @@ -1,5 +0,0 @@ -[WILDCARD]error: Uncaught Error: foo -Warning Couldn't format source line: Column 31 is out of bounds (source may have changed at runtime) - at file:///[WILDCARD]/eval_context_conflicting_source.ts:1:31 - at [WILDCARD] - at file:///[WILDCARD]/eval_context_throw_with_conflicting_source.ts:[WILDCARD] |