summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/runtime/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/runtime/tests.rs b/core/runtime/tests.rs
index d2283365e..88c62e280 100644
--- a/core/runtime/tests.rs
+++ b/core/runtime/tests.rs
@@ -217,7 +217,7 @@ fn test_dispatch_no_zero_copy_buf() {
"filename.js",
r#"
- Deno.core.opAsync("op_test");
+ Deno.core.opAsync("op_test", 0);
"#,
)
.unwrap();
@@ -233,7 +233,7 @@ fn test_dispatch_stack_zero_copy_bufs() {
r#"
const { op_test } = Deno.core.ensureFastOps();
let zero_copy_a = new Uint8Array([0]);
- op_test(null, zero_copy_a);
+ op_test(0, zero_copy_a);
"#,
)
.unwrap();