diff options
author | Martin Fischer <martin@push-f.com> | 2023-06-26 15:10:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-26 09:10:27 -0400 |
commit | 801b9ec62d94f201e67d053ee90dae0b70e50a42 (patch) | |
tree | 145f840c570dd72258ef309e9d31f100a5aa5786 /core/runtime/tests.rs | |
parent | ad3c494b46c97f0cf91098b7ec2afa576ea7a3dd (diff) |
chore: fix typos (#19572)
Diffstat (limited to 'core/runtime/tests.rs')
-rw-r--r-- | core/runtime/tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/runtime/tests.rs b/core/runtime/tests.rs index 88c62e280..dbfeecf3c 100644 --- a/core/runtime/tests.rs +++ b/core/runtime/tests.rs @@ -364,7 +364,7 @@ fn terminate_execution_webassembly() { let (mut runtime, _dispatch_count) = setup(Mode::Async); let v8_isolate_handle = runtime.v8_isolate().thread_safe_handle(); - // Run an infinite loop in Webassemby code, which should be terminated. + // Run an infinite loop in WebAssembly code, which should be terminated. let promise = runtime.execute_script_static("infinite_wasm_loop.js", r#" (async () => { @@ -1894,7 +1894,7 @@ fn test_op_unstable_disabling() { "test.js", r#" if (Deno.core.ops.op_foo() !== 42) { - throw new Error("Exptected op_foo() === 42"); + throw new Error("Expected op_foo() === 42"); } if (typeof Deno.core.ops.op_bar !== "undefined") { throw new Error("Expected op_bar to be disabled") |