mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-21 21:42:23 -05:00
Show warnings and errors in the tests
This commit is contained in:
parent
c51f1b3f31
commit
3ce3235294
1 changed files with 2 additions and 2 deletions
|
@ -130,9 +130,9 @@ impl Exercise {
|
|||
output.clear();
|
||||
|
||||
let clippy_args: &[&str] = if self.strict_clippy {
|
||||
&["--", "-D", "warnings"]
|
||||
&["--profile", "test", "--", "-D", "warnings"]
|
||||
} else {
|
||||
&[]
|
||||
&["--profile", "test"]
|
||||
};
|
||||
let clippy_success =
|
||||
self.cargo_cmd("clippy", clippy_args, "cargo clippy …", output, dev, true)?;
|
||||
|
|
Loading…
Reference in a new issue