From 7ce052be372ad5e3671e4f470ac552db075162fb Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sat, 16 Feb 2019 00:26:07 +0100 Subject: cargo fmt --- tests/compiletest.rs | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'tests/compiletest.rs') diff --git a/tests/compiletest.rs b/tests/compiletest.rs index acc8954..58702ee 100644 --- a/tests/compiletest.rs +++ b/tests/compiletest.rs @@ -38,18 +38,16 @@ fn cfail() { let f = f.unwrap().path(); let name = f.file_stem().unwrap().to_str().unwrap(); - assert!( - Command::new("rustc") - .args(s.split_whitespace()) - .arg(f.display().to_string()) - .arg("-o") - .arg(td.path().join(name).display().to_string()) - .arg("-C") - .arg("linker=true") - .status() - .unwrap() - .success() - ); + assert!(Command::new("rustc") + .args(s.split_whitespace()) + .arg(f.display().to_string()) + .arg("-o") + .arg(td.path().join(name).display().to_string()) + .arg("-C") + .arg("linker=true") + .status() + .unwrap() + .success()); } config.target_rustcflags = Some(s); -- cgit v1.2.3