mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03:00
use -- --nocapture when testing
This commit is contained in:
parent
e336d04c79
commit
9e328da641
|
@ -38,6 +38,7 @@ impl Exercise {
|
||||||
Mode::Test => Command::new("rustc")
|
Mode::Test => Command::new("rustc")
|
||||||
.args(&["--test", self.path.to_str().unwrap(), "-o", &temp_file()])
|
.args(&["--test", self.path.to_str().unwrap(), "-o", &temp_file()])
|
||||||
.args(RUSTC_COLOR_ARGS)
|
.args(RUSTC_COLOR_ARGS)
|
||||||
|
.args(&["--" "--nocapture"])
|
||||||
.output(),
|
.output(),
|
||||||
}
|
}
|
||||||
.expect("Failed to run 'compile' command.")
|
.expect("Failed to run 'compile' command.")
|
||||||
|
|
Loading…
Reference in a new issue