Skip to content

Commit

Permalink
Fix clippy errors in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
koxu1996 committed Jul 11, 2024
1 parent fba3d77 commit 1e34c67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions casper-deploy-notifier/tests/casper-deploy-notifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ mod tests {
notification.public_key,
"016acb4cfa2ec31ea67ca53c1f93c77dba6740c463968ac550466723dc2cbaa421"
);
assert_eq!(notification.success, true);
assert!(notification.success);
} else {
panic!("Expected a notification, but none was received");
}
Expand All @@ -172,7 +172,7 @@ mod tests {
notification.public_key,
"01f03bbc42a3d5901c7232987ba84ab2c6d210973a0cfe742284dcb1d8b4cbe1c3"
);
assert_eq!(notification.success, true);
assert!(notification.success);
} else {
panic!("Expected a second notification, but none was received");
}
Expand Down

0 comments on commit 1e34c67

Please sign in to comment.