Show warnings and errors in the tests

pull/2010/head
mo8it 5 months ago
parent c51f1b3f31
commit 3ce3235294

@ -130,9 +130,9 @@ impl Exercise {
output.clear(); output.clear();
let clippy_args: &[&str] = if self.strict_clippy { let clippy_args: &[&str] = if self.strict_clippy {
&["--", "-D", "warnings"] &["--profile", "test", "--", "-D", "warnings"]
} else { } else {
&[] &["--profile", "test"]
}; };
let clippy_success = let clippy_success =
self.cargo_cmd("clippy", clippy_args, "cargo clippy …", output, dev, true)?; self.cargo_cmd("clippy", clippy_args, "cargo clippy …", output, dev, true)?;

Loading…
Cancel
Save