summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration/lsp_tests.rs8
-rw-r--r--cli/tests/testdata/run/error_009_extensions_error.js.out2
-rw-r--r--cli/tests/testdata/run/fetch_async_error_stack.ts.out2
-rw-r--r--cli/tests/testdata/run/queue_microtask_error.ts.out2
-rw-r--r--cli/tests/testdata/run/queue_microtask_error_handled.ts.out4
-rw-r--r--cli/tests/testdata/run/wasm_streaming_panic_test.js.out2
-rw-r--r--cli/tests/testdata/run/worker_drop_handle_race.js.out6
-rw-r--r--cli/tests/testdata/test/steps/failing_steps.out8
-rw-r--r--cli/tests/unit/opcall_test.ts4
9 files changed, 19 insertions, 19 deletions
diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs
index bca327e96..128f9903b 100644
--- a/cli/tests/integration/lsp_tests.rs
+++ b/cli/tests/integration/lsp_tests.rs
@@ -1073,7 +1073,7 @@ fn lsp_hover_asset() {
"deno/virtualTextDocument",
json!({
"textDocument": {
- "uri": "deno:/asset/lib.deno.shared_globals.d.ts"
+ "uri": "internal:/asset/lib.deno.shared_globals.d.ts"
}
}),
)
@@ -1084,7 +1084,7 @@ fn lsp_hover_asset() {
"textDocument/hover",
json!({
"textDocument": {
- "uri": "deno:/asset/lib.es2015.symbol.wellknown.d.ts"
+ "uri": "internal:/asset/lib.es2015.symbol.wellknown.d.ts"
},
"position": {
"line": 109,
@@ -3103,7 +3103,7 @@ fn lsp_code_lens_non_doc_nav_tree() {
"deno/virtualTextDocument",
json!({
"textDocument": {
- "uri": "deno:/asset/lib.deno.shared_globals.d.ts"
+ "uri": "internal:/asset/lib.deno.shared_globals.d.ts"
}
}),
)
@@ -3115,7 +3115,7 @@ fn lsp_code_lens_non_doc_nav_tree() {
"textDocument/codeLens",
json!({
"textDocument": {
- "uri": "deno:/asset/lib.deno.shared_globals.d.ts"
+ "uri": "internal:/asset/lib.deno.shared_globals.d.ts"
}
}),
)
diff --git a/cli/tests/testdata/run/error_009_extensions_error.js.out b/cli/tests/testdata/run/error_009_extensions_error.js.out
index 8510980f6..558eedbe1 100644
--- a/cli/tests/testdata/run/error_009_extensions_error.js.out
+++ b/cli/tests/testdata/run/error_009_extensions_error.js.out
@@ -2,5 +2,5 @@
new Event();
^
at [WILDCARD]
- at new Event (deno:ext/web/[WILDCARD])
+ at new Event (internal:ext/web/[WILDCARD])
at [WILDCARD]
diff --git a/cli/tests/testdata/run/fetch_async_error_stack.ts.out b/cli/tests/testdata/run/fetch_async_error_stack.ts.out
index 0a7b353e2..8ca670847 100644
--- a/cli/tests/testdata/run/fetch_async_error_stack.ts.out
+++ b/cli/tests/testdata/run/fetch_async_error_stack.ts.out
@@ -1,5 +1,5 @@
error: Uncaught (in promise) TypeError: error sending request for url[WILDCARD]
await fetch("https://nonexistent.deno.land/");
^[WILDCARD]
- at async fetch (deno:[WILDCARD])
+ at async fetch (internal:[WILDCARD])
at async file:///[WILDCARD]/fetch_async_error_stack.ts:1:1
diff --git a/cli/tests/testdata/run/queue_microtask_error.ts.out b/cli/tests/testdata/run/queue_microtask_error.ts.out
index 6c4d41936..c1af4fec9 100644
--- a/cli/tests/testdata/run/queue_microtask_error.ts.out
+++ b/cli/tests/testdata/run/queue_microtask_error.ts.out
@@ -3,4 +3,4 @@ error: Uncaught Error: foo
throw new Error("foo");
^
at [WILDCARD]/queue_microtask_error.ts:2:9
- at deno:core/[WILDCARD]
+ at internal:core/[WILDCARD]
diff --git a/cli/tests/testdata/run/queue_microtask_error_handled.ts.out b/cli/tests/testdata/run/queue_microtask_error_handled.ts.out
index 7f3f7f84a..9105570b3 100644
--- a/cli/tests/testdata/run/queue_microtask_error_handled.ts.out
+++ b/cli/tests/testdata/run/queue_microtask_error_handled.ts.out
@@ -7,9 +7,9 @@
colno: 9,
error: Error: foo
at [WILDCARD]/queue_microtask_error_handled.ts:18:9
- at deno:core/[WILDCARD]
+ at internal:core/[WILDCARD]
}
onerror() called Error: foo
at [WILDCARD]/queue_microtask_error_handled.ts:18:9
- at deno:core/[WILDCARD]
+ at internal:core/[WILDCARD]
2
diff --git a/cli/tests/testdata/run/wasm_streaming_panic_test.js.out b/cli/tests/testdata/run/wasm_streaming_panic_test.js.out
index 3e93f643a..72237df6f 100644
--- a/cli/tests/testdata/run/wasm_streaming_panic_test.js.out
+++ b/cli/tests/testdata/run/wasm_streaming_panic_test.js.out
@@ -1,2 +1,2 @@
error: Uncaught (in promise) TypeError: Invalid WebAssembly content type.
- at handleWasmStreaming (deno:ext/fetch/26_fetch.js:[WILDCARD])
+ at handleWasmStreaming (internal:ext/fetch/26_fetch.js:[WILDCARD])
diff --git a/cli/tests/testdata/run/worker_drop_handle_race.js.out b/cli/tests/testdata/run/worker_drop_handle_race.js.out
index a81684bfa..afb522baa 100644
--- a/cli/tests/testdata/run/worker_drop_handle_race.js.out
+++ b/cli/tests/testdata/run/worker_drop_handle_race.js.out
@@ -2,7 +2,7 @@ error: Uncaught (in worker "") Error
throw new Error();
^
at [WILDCARD]/workers/drop_handle_race.js:2:9
- at Object.action (deno:ext/web/02_timers.js:[WILDCARD])
- at handleTimerMacrotask (deno:ext/web/02_timers.js:[WILDCARD])
+ at Object.action (internal:ext/web/02_timers.js:[WILDCARD])
+ at handleTimerMacrotask (internal:ext/web/02_timers.js:[WILDCARD])
error: Uncaught (in promise) Error: Unhandled error in child worker.
- at Worker.#pollControl (deno:runtime/js/11_workers.js:[WILDCARD])
+ at Worker.#pollControl (internal:runtime/js/11_workers.js:[WILDCARD])
diff --git a/cli/tests/testdata/test/steps/failing_steps.out b/cli/tests/testdata/test/steps/failing_steps.out
index 4df104bd7..998c70aa2 100644
--- a/cli/tests/testdata/test/steps/failing_steps.out
+++ b/cli/tests/testdata/test/steps/failing_steps.out
@@ -37,13 +37,13 @@ failing step in failing test ... FAILED ([WILDCARD])
nested failure => ./test/steps/failing_steps.ts:[WILDCARD]
error: Error: 1 test step failed.
- at runTest (deno:cli/js/40_testing.js:[WILDCARD])
- at async runTests (deno:cli/js/40_testing.js:[WILDCARD])
+ at runTest (internal:cli/js/40_testing.js:[WILDCARD])
+ at async runTests (internal:cli/js/40_testing.js:[WILDCARD])
multiple test step failures => ./test/steps/failing_steps.ts:[WILDCARD]
error: Error: 2 test steps failed.
- at runTest (deno:cli/js/40_testing.js:[WILDCARD])
- at async runTests (deno:cli/js/40_testing.js:[WILDCARD])
+ at runTest (internal:cli/js/40_testing.js:[WILDCARD])
+ at async runTests (internal:cli/js/40_testing.js:[WILDCARD])
failing step in failing test => ./test/steps/failing_steps.ts:[WILDCARD]
error: Error: Fail test.
diff --git a/cli/tests/unit/opcall_test.ts b/cli/tests/unit/opcall_test.ts
index 3f4f4472c..fb7766e4f 100644
--- a/cli/tests/unit/opcall_test.ts
+++ b/cli/tests/unit/opcall_test.ts
@@ -16,8 +16,8 @@ Deno.test(async function sendAsyncStackTrace() {
assertStringIncludes(s, "opcall_test.ts");
assertStringIncludes(s, "read");
assert(
- !s.includes("deno:core"),
- "opcall stack traces should NOT include deno:core internals such as unwrapOpResult",
+ !s.includes("internal:core"),
+ "opcall stack traces should NOT include internal:core internals such as unwrapOpResult",
);
}
});