diff options
| author | liv <819880950@qq.com> | 2019-04-22 05:49:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-22 05:49:23 +0200 |
| commit | 9e328da641ea11cdffe1cd634b4cbdf7519a314f (patch) | |
| tree | ab32cb025c19c79369c1a3ceb3805f4e184cd7a9 /src/exercise.rs | |
| parent | e336d04c790e2d93f1a1d702cfeb68eb96744b2d (diff) | |
use -- --nocapture when testing
Diffstat (limited to 'src/exercise.rs')
| -rw-r--r-- | src/exercise.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exercise.rs b/src/exercise.rs index e0c6ce7c8..a886d2f 100644 --- a/src/exercise.rs +++ b/src/exercise.rs @@ -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.") |
