1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-09-16 10:51:42 +02:00

use -- --nocapture when testing

This commit is contained in:
liv 2019-04-22 05:49:23 +02:00 committed by GitHub
parent e336d04c79
commit 9e328da641
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,7 @@ impl Exercise {
Mode::Test => Command::new("rustc")
.args(&["--test", self.path.to_str().unwrap(), "-o", &temp_file()])
.args(RUSTC_COLOR_ARGS)
.args(&["--" "--nocapture"])
.output(),
}
.expect("Failed to run 'compile' command.")