Skip to content

Commit

Permalink
Another attempt to fix error_action coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Oct 18, 2023
1 parent 26ef280 commit 9e65603
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/error_action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ mod tests {
#[test]
fn derive_traits() {
let x = ErrorAction::CatchAndLocalShutdown;
assert!(x.clone() == x);
#[allow(clippy::clone_on_copy)]
let y = x.clone();
assert!(y == x);
}
}

0 comments on commit 9e65603

Please sign in to comment.