summaryrefslogtreecommitdiff
path: root/core/ops_json.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/ops_json.rs')
-rw-r--r--core/ops_json.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ops_json.rs b/core/ops_json.rs
index 12fd9fdbc..995f94885 100644
--- a/core/ops_json.rs
+++ b/core/ops_json.rs
@@ -119,7 +119,7 @@ mod tests {
runtime.register_op("op_throw", op_async(op_throw));
runtime.sync_ops_cache();
runtime
- .execute(
+ .execute_script(
"<init>",
r#"
async function f1() {