From 2f25efe07ea85544882313dc62b9cf1c4401b833 Mon Sep 17 00:00:00 2001
From: Quaternions <krakow20@gmail.com>
Date: Wed, 26 Mar 2025 15:00:07 -0700
Subject: [PATCH] use assert_eq

---
 src/main.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main.rs b/src/main.rs
index 4adb587..54b01a4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -299,9 +299,9 @@ async fn check_or_create_script_poicy(
 	match script_policy_result{
 		Some(script_policy_reponse)=>{
 			// check that everything matches the expectation
-			assert!(hash==script_policy_reponse.FromScriptHash);
-			assert!(script_policy.ToScriptID==script_policy_reponse.ToScriptID);
-			assert!(script_policy.Policy==script_policy_reponse.Policy);
+			assert_eq!(hash,script_policy_reponse.FromScriptHash);
+			assert_eq!(script_policy.ToScriptID,script_policy_reponse.ToScriptID);
+			assert_eq!(script_policy.Policy,script_policy_reponse.Policy);
 		},
 		None=>{
 			// create a new policy