From 1e34c67bfa4eab2d86b847ea0859fcc1cb3ad10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Bro=C5=84ski?= Date: Thu, 11 Jul 2024 12:58:53 +0200 Subject: [PATCH] Fix clippy errors in tests. --- casper-deploy-notifier/tests/casper-deploy-notifier.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/casper-deploy-notifier/tests/casper-deploy-notifier.rs b/casper-deploy-notifier/tests/casper-deploy-notifier.rs index b0bf2058..7e248cff 100644 --- a/casper-deploy-notifier/tests/casper-deploy-notifier.rs +++ b/casper-deploy-notifier/tests/casper-deploy-notifier.rs @@ -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"); } @@ -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"); }