From 942f46ebabe37e67c0ac0fecfdad7af5b331ea7c Mon Sep 17 00:00:00 2001 From: Claudia Meadows Date: Sat, 29 Jun 2024 15:11:17 -0700 Subject: [PATCH] Update call_spy_map.rs --- src/test_utils/spy/call_spy_map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test_utils/spy/call_spy_map.rs b/src/test_utils/spy/call_spy_map.rs index c19b25b..3677f13 100644 --- a/src/test_utils/spy/call_spy_map.rs +++ b/src/test_utils/spy/call_spy_map.rs @@ -136,7 +136,7 @@ impl CallSpyMap { 'outer: for state in states { for (key, expected) in expected_map { - if key == state.key { + if *key == &state.key { if !state.args.iter().eq(&expected) { return false; }