mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-06 10:03:30 +02:00
Use the pretty format when testing even with -q
This commit is contained in:
+1
-1
@@ -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"],
|
||||||
|
|||||||
Reference in New Issue
Block a user