diff options
author | Aleksey Kladov <[email protected]> | 2018-10-31 20:41:43 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-10-31 20:41:43 +0000 |
commit | 6be50f7d5de3737464853a589673375fc0cafa97 (patch) | |
tree | 2c6da7f3a1234c3f2fd3f330d2c9445953979598 /crates/tools/tests | |
parent | 857c1650efdb51650458f9ec1119adaa49b34371 (diff) |
Reformat all
Diffstat (limited to 'crates/tools/tests')
-rw-r--r-- | crates/tools/tests/cli.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/crates/tools/tests/cli.rs b/crates/tools/tests/cli.rs index 8c53a8230..2d238d9ea 100644 --- a/crates/tools/tests/cli.rs +++ b/crates/tools/tests/cli.rs | |||
@@ -1,8 +1,6 @@ | |||
1 | extern crate tools; | 1 | extern crate tools; |
2 | 2 | ||
3 | use tools::{ | 3 | use tools::{generate, run_rustfmt, Verify}; |
4 | generate, Verify, run_rustfmt, | ||
5 | }; | ||
6 | 4 | ||
7 | #[test] | 5 | #[test] |
8 | fn verify_template_generation() { | 6 | fn verify_template_generation() { |
@@ -14,6 +12,9 @@ fn verify_template_generation() { | |||
14 | #[test] | 12 | #[test] |
15 | fn check_code_formatting() { | 13 | fn check_code_formatting() { |
16 | if let Err(error) = run_rustfmt(Verify) { | 14 | if let Err(error) = run_rustfmt(Verify) { |
17 | panic!("{}. Please format the code by running `cargo format`", error); | 15 | panic!( |
16 | "{}. Please format the code by running `cargo format`", | ||
17 | error | ||
18 | ); | ||
18 | } | 19 | } |
19 | } | 20 | } |