summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/exercise.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exercise.rs b/src/exercise.rs
index 28ae695..3ba2567 100644
--- a/src/exercise.rs
+++ b/src/exercise.rs
@@ -38,7 +38,6 @@ 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.")
@@ -46,6 +45,7 @@ impl Exercise {
pub fn run(&self) -> Output {
Command::new(&temp_file())
+ .args(&["--", "--nocapture"])
.output()
.expect("Failed to run 'run' command")
}