mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 14:02:22 -05:00
Use the pretty format when testing even with -q
This commit is contained in:
parent
445441ce25
commit
919ba88413
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ impl Exercise {
|
||||||
pub fn run(&self) -> Result<Output> {
|
pub fn run(&self) -> Result<Output> {
|
||||||
match self.mode {
|
match self.mode {
|
||||||
Mode::Compile => self.cargo_cmd("run", &[]),
|
Mode::Compile => self.cargo_cmd("run", &[]),
|
||||||
Mode::Test => self.cargo_cmd("test", &["--", "--nocapture"]),
|
Mode::Test => self.cargo_cmd("test", &["--", "--nocapture", "--format", "pretty"]),
|
||||||
Mode::Clippy => self.cargo_cmd(
|
Mode::Clippy => self.cargo_cmd(
|
||||||
"clippy",
|
"clippy",
|
||||||
&["--", "-D", "warnings", "-D", "clippy::float_cmp"],
|
&["--", "-D", "warnings", "-D", "clippy::float_cmp"],
|
||||||
|
|
Loading…
Reference in a new issue