diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2018-10-23 21:02:43 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-23 21:02:43 -0700 |
commit | 988ec88dd081fd84241f40b8bce64b2aeb39ebf7 (patch) | |
tree | 5732a7cb78b1365d92a50e020bbfffcbaf94ca62 /src/isolate.rs | |
parent | a4fb5175cecc62573eaf3406154ece2938f45b88 (diff) |
Switch to getopts for flag parsing (#1080)
Diffstat (limited to 'src/isolate.rs')
-rw-r--r-- | src/isolate.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/isolate.rs b/src/isolate.rs index be6197c68..24f9e6adf 100644 --- a/src/isolate.rs +++ b/src/isolate.rs @@ -361,7 +361,7 @@ mod tests { #[test] fn test_dispatch_sync() { let argv = vec![String::from("./deno"), String::from("hello.js")]; - let (flags, rest_argv) = flags::set_flags(argv).unwrap(); + let (flags, rest_argv, _) = flags::set_flags(argv).unwrap(); let mut isolate = Isolate::new(flags, rest_argv, dispatch_sync); tokio_util::init(|| { isolate @@ -401,7 +401,7 @@ mod tests { #[test] fn test_metrics_sync() { let argv = vec![String::from("./deno"), String::from("hello.js")]; - let (flags, rest_argv) = flags::set_flags(argv).unwrap(); + let (flags, rest_argv, _) = flags::set_flags(argv).unwrap(); let mut isolate = Isolate::new(flags, rest_argv, metrics_dispatch_sync); tokio_util::init(|| { // Verify that metrics have been properly initialized. @@ -436,7 +436,7 @@ mod tests { #[test] fn test_metrics_async() { let argv = vec![String::from("./deno"), String::from("hello.js")]; - let (flags, rest_argv) = flags::set_flags(argv).unwrap(); + let (flags, rest_argv, _) = flags::set_flags(argv).unwrap(); let mut isolate = Isolate::new(flags, rest_argv, metrics_dispatch_async); tokio_util::init(|| { // Verify that metrics have been properly initialized. |