diff options
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index 4601a6021..4ad79a09b 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -339,7 +339,7 @@ mod tests { state, ext, ); - worker.execute("denoMain()").unwrap(); + worker.execute("bootstrapMainRuntime()").unwrap(); let result = worker .execute_mod_async(&module_specifier, None, false) .await; @@ -371,8 +371,8 @@ mod tests { state, ext, ); - worker.execute("denoMain()").unwrap(); - worker.execute("workerMain()").unwrap(); + worker.execute("bootstrapMainRuntime()").unwrap(); + worker.execute("bootstrapWorkerRuntime()").unwrap(); worker } |