From eb7b16a3079dab31f84c625ebcfab8aa9877fef2 Mon Sep 17 00:00:00 2001 From: patrini32 Date: Fri, 28 Jun 2024 17:03:07 +0000 Subject: [PATCH] Fix error --- .../alice_manually_punishes_after_bob_dead_and_bob_cancels.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swap/tests/alice_manually_punishes_after_bob_dead_and_bob_cancels.rs b/swap/tests/alice_manually_punishes_after_bob_dead_and_bob_cancels.rs index fe412f76..374d6160 100644 --- a/swap/tests/alice_manually_punishes_after_bob_dead_and_bob_cancels.rs +++ b/swap/tests/alice_manually_punishes_after_bob_dead_and_bob_cancels.rs @@ -89,7 +89,7 @@ async fn alice_manually_punishes_after_bob_dead_and_bob_cancels() { .await .unwrap_err(); assert_eq!( - &error, + error.to_string(), "Cannot refund swap because we have already been punished" ); Ok(())