Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Dec 11, 2024
1 parent 94e53d2 commit 9693722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tooling/nargo_cli/src/cli/test_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ impl<'a> TestRunner<'a> {
time_to_run,
};

if !thread_sender.send(test_result).is_ok() {
if thread_sender.send(test_result).is_err() {
break;
}
})
Expand Down Expand Up @@ -290,7 +290,7 @@ impl<'a> TestRunner<'a> {
Some(self.workspace.root_dir.clone()),
package.name.to_string(),
);
if !thread_sender.send((package, tests)).is_ok() {
if thread_sender.send((package, tests)).is_err() {
break;
}
})
Expand Down

0 comments on commit 9693722

Please sign in to comment.