This commit is contained in:
liv 2019-04-22 07:05:46 +02:00 committed by GitHub
parent 9e328da641
commit bfcf38c8bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +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"]) .args(&["--", "--nocapture"])
.output(), .output(),
} }
.expect("Failed to run 'compile' command.") .expect("Failed to run 'compile' command.")