From 316a9f271153830afe928df927bd5cad12a87c74 Mon Sep 17 00:00:00 2001 From: Daniele D'Orazio Date: Fri, 21 Jun 2019 16:47:34 +0200 Subject: [PATCH] cargo fmt --- tests/compile-test.rs | 4 ++-- tests/missing-test-files.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/compile-test.rs b/tests/compile-test.rs index 1631a607e0e..e0b1ebf4b8b 100644 --- a/tests/compile-test.rs +++ b/tests/compile-test.rs @@ -141,11 +141,11 @@ fn run_ui_toml() { let res = run_ui_toml_tests(&config, tests); match res { - Ok(true) => {} + Ok(true) => {}, Ok(false) => panic!("Some tests failed"), Err(e) => { println!("I/O failure during tests: {:?}", e); - } + }, } } diff --git a/tests/missing-test-files.rs b/tests/missing-test-files.rs index a26f43d0eff..d87bb4be3c3 100644 --- a/tests/missing-test-files.rs +++ b/tests/missing-test-files.rs @@ -46,7 +46,7 @@ fn explore_directory(dir: &Path) -> Vec { if file_stem != current_file { missing_files.push(path.to_str().unwrap().to_string()); } - } + }, _ => continue, }; }