From 12e3b4c70b5ef23b2fdfc197296d483680e125f9 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 8 Feb 2019 14:49:43 +0300 Subject: reformat the world --- crates/tools/tests/cli.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'crates/tools/tests/cli.rs') diff --git a/crates/tools/tests/cli.rs b/crates/tools/tests/cli.rs index 2ee4b5223..aab52a4aa 100644 --- a/crates/tools/tests/cli.rs +++ b/crates/tools/tests/cli.rs @@ -10,19 +10,13 @@ fn generated_grammar_is_fresh() { #[test] fn generated_tests_are_fresh() { if let Err(error) = gen_tests(Verify) { - panic!( - "{}. Please update tests by running `cargo gen-tests`", - error - ); + panic!("{}. Please update tests by running `cargo gen-tests`", error); } } #[test] fn check_code_formatting() { if let Err(error) = run_rustfmt(Verify) { - panic!( - "{}. Please format the code by running `cargo format`", - error - ); + panic!("{}. Please format the code by running `cargo format`", error); } } -- cgit v1.2.3