Skip to content
Permalink
Browse files

more isolate tests

  • Loading branch information...
ry committed Mar 12, 2019
1 parent 8eba43a commit 68e2089e816220ac246fc74a0ea927c420a32161
Showing with 2 additions and 5 deletions.
  1. +2 −5 src/isolate.rs
@@ -178,15 +178,12 @@ fn fetch_module_meta_data_and_maybe_compile(
#[cfg(test)]
mod tests {
use super::*;
use crate::cli::Cli;
use crate::flags;
use crate::isolate_init::IsolateInit;
use crate::permissions::DenoPermissions;
use crate::tokio_util;
use crate::tokio_util::panic_on_error;
use futures::future::lazy;
use std::sync::atomic::Ordering;
use std::sync::Arc;

#[test]
fn execute_mod() {
@@ -210,7 +207,7 @@ mod tests {
if let Err(err) = isolate.execute_mod(&filename, false) {
eprintln!("execute_mod err {:?}", err);
}
panic_on_error(isolate)
tokio_util::panic_on_error(isolate)
}));

let metrics = &state_.metrics;
@@ -237,7 +234,7 @@ mod tests {
if let Err(err) = isolate.execute_mod(&filename, false) {
eprintln!("execute_mod err {:?}", err);
}
panic_on_error(isolate)
tokio_util::panic_on_error(isolate)
}));

let metrics = &state_.metrics;

0 comments on commit 68e2089

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.