diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-10-01 19:48:18 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-01 22:30:57 -0400 |
commit | 393f751a274c338db1c4f675f796257106e9d579 (patch) | |
tree | d3dfd569b86d538ad6eee32708280dc76aba3095 /src | |
parent | 3a6d4e62603a711a9ae3e0fa30fd4fd039169de1 (diff) |
Format.
Diffstat (limited to 'src')
-rw-r--r-- | src/flags.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/flags.rs b/src/flags.rs index d8815ef1f..82b7f528d 100644 --- a/src/flags.rs +++ b/src/flags.rs @@ -193,8 +193,10 @@ fn v8_set_flags_preprocess(args: Vec<String>) -> (Vec<String>, Vec<String>) { #[test] fn test_v8_set_flags_preprocess_1() { - let js_args = - v8_set_flags_preprocess(vec!["deno".to_string(), "--v8-options".to_string()]); + let js_args = v8_set_flags_preprocess(vec![ + "deno".to_string(), + "--v8-options".to_string(), + ]); assert_eq!( js_args, (vec!["deno".to_string(), "--help".to_string()], vec![]) @@ -203,7 +205,8 @@ fn test_v8_set_flags_preprocess_1() { #[test] fn test_v8_set_flags_preprocess_2() { - let js_args = v8_set_flags_preprocess(vec!["deno".to_string(), "--help".to_string()]); + let js_args = + v8_set_flags_preprocess(vec!["deno".to_string(), "--help".to_string()]); assert_eq!( js_args, (vec!["deno".to_string()], vec!["--help".to_string()]) |