From 393f751a274c338db1c4f675f796257106e9d579 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 1 Oct 2018 19:48:18 -0400 Subject: Format. --- js/truncate.ts | 4 ++-- src/flags.rs | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/js/truncate.ts b/js/truncate.ts index 7b6e2f8e9..05bee7168 100644 --- a/js/truncate.ts +++ b/js/truncate.ts @@ -5,7 +5,7 @@ import * as dispatch from "./dispatch"; /** * Truncates or extends the specified file synchronously, - * updating the size of this file to become size. + * updating the size of this file to become size. * * import { truncateSync } from "deno"; * @@ -17,7 +17,7 @@ export function truncateSync(name: string, len?: number): void { /** * Truncates or extends the specified file, - * updating the size of this file to become size. + * updating the size of this file to become size. * * import { truncate } from "deno"; * 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) -> (Vec, Vec) { #[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()]) -- cgit v1.2.3