aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail.rs
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2018-04-16 21:32:52 +0200
committerJorge Aparicio <jorge@japaric.io>2018-04-16 21:32:52 +0200
commitefca108103228f94e061ea06778555241c55b4f9 (patch)
tree724cfebd230ce75ab5b05e348683f3129d4bf763 /tests/cfail.rs
parent7fdf16eab948ea04c1e56fdb5a704ed88780f5c6 (diff)
cargo fmt
Diffstat (limited to 'tests/cfail.rs')
-rw-r--r--tests/cfail.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/cfail.rs b/tests/cfail.rs
index 3636c72..6572d65 100644
--- a/tests/cfail.rs
+++ b/tests/cfail.rs
@@ -10,9 +10,8 @@ fn cfail() {
let mut config = Config::default();
config.mode = Mode::CompileFail;
config.src_base = PathBuf::from(format!("tests/cfail"));
- config.target_rustcflags = Some(
- "-C panic=abort -L target/debug -L target/debug/deps ".to_string(),
- );
+ config.target_rustcflags =
+ Some("-C panic=abort -L target/debug -L target/debug/deps ".to_string());
compiletest::run_tests(&config);
}