diff options
| author | mo8it <mo8it@proton.me> | 2024-04-25 16:08:07 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-25 16:08:07 +0200 |
| commit | 3ce32352945a81972b5b421d522ca5e6fbd28d2c (patch) | |
| tree | 297f00991d7d551720b8177a9c650bfa9a5bde4f /src/exercise.rs | |
| parent | c51f1b3f31478f8c82acbd83e9ae873e29159c5f (diff) | |
Show warnings and errors in the tests
Diffstat (limited to 'src/exercise.rs')
| -rw-r--r-- | src/exercise.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exercise.rs b/src/exercise.rs index 21ae582..50f360e 100644 --- a/src/exercise.rs +++ b/src/exercise.rs @@ -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)?; |
