summaryrefslogtreecommitdiff
path: root/runtime/js.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js.rs')
-rw-r--r--runtime/js.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js.rs b/runtime/js.rs
index 9ad668467..904377b89 100644
--- a/runtime/js.rs
+++ b/runtime/js.rs
@@ -22,7 +22,7 @@ mod tests {
..Default::default()
});
js_runtime
- .execute(
+ .execute_script(
"<anon>",
r#"
if (!(bootstrap.mainRuntime && bootstrap.workerRuntime)) {