From 76e44ddfd0d286335107de28bae06c6f962abf13 Mon Sep 17 00:00:00 2001 From: Ry Dahl Date: Sun, 5 Jan 2020 11:56:18 -0500 Subject: Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) --- cli/js.rs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'cli/js.rs') diff --git a/cli/js.rs b/cli/js.rs index b76e49391..09fe3f8fa 100644 --- a/cli/js.rs +++ b/cli/js.rs @@ -28,9 +28,11 @@ pub fn get_asset(name: &str) -> Option<&'static str> { #[test] fn cli_snapshot() { - let mut isolate = - deno::Isolate::new(deno::StartupData::Snapshot(CLI_SNAPSHOT), false); - deno::js_check(isolate.execute( + let mut isolate = deno_core::Isolate::new( + deno_core::StartupData::Snapshot(CLI_SNAPSHOT), + false, + ); + deno_core::js_check(isolate.execute( "", r#" if (!window) { @@ -43,9 +45,11 @@ fn cli_snapshot() { #[test] fn compiler_snapshot() { - let mut isolate = - deno::Isolate::new(deno::StartupData::Snapshot(COMPILER_SNAPSHOT), false); - deno::js_check(isolate.execute( + let mut isolate = deno_core::Isolate::new( + deno_core::StartupData::Snapshot(COMPILER_SNAPSHOT), + false, + ); + deno_core::js_check(isolate.execute( "", r#" if (!compilerMain) { -- cgit v1.2.3