summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2022-07-11 19:43:47 +0100
committerGitHub <noreply@github.com>2022-07-11 20:43:47 +0200
commit989c72313078e71b60e22902f8a3abc67d085187 (patch)
tree1d1b23447b566c2399884019354aa6ed7d78d675 /cli/tests/testdata
parent687c712be3be5d36db08ef9726ce356d99511484 (diff)
perf(cli/proc_state): Get error source lines from memory (#15031)
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/eval_context_conflicting_source.ts1
-rw-r--r--cli/tests/testdata/eval_context_throw_with_conflicting_source.ts6
-rw-r--r--cli/tests/testdata/eval_context_throw_with_conflicting_source.ts.out5
3 files changed, 0 insertions, 12 deletions
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]