summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index 46e7eeaff..858958ecf 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -382,7 +382,7 @@ mod tests {
startup_data::deno_isolate_init(),
state.clone(),
);
- worker.execute("bootstrapMainRuntime()").unwrap();
+ worker.execute("bootstrap.mainRuntime()").unwrap();
let result = worker.execute_module(&module_specifier).await;
if let Err(err) = result {
eprintln!("execute_mod err {:?}", err);
@@ -404,7 +404,7 @@ mod tests {
startup_data::deno_isolate_init(),
state,
);
- worker.execute("bootstrapMainRuntime()").unwrap();
+ worker.execute("bootstrap.mainRuntime()").unwrap();
worker
}