diff --git a/src/test_utils/spy/call_spy_map.rs b/src/test_utils/spy/call_spy_map.rs index f650c86..8dddf36 100644 --- a/src/test_utils/spy/call_spy_map.rs +++ b/src/test_utils/spy/call_spy_map.rs @@ -137,7 +137,7 @@ impl CallSpyMap { 'outer: for state in states { for (key, expected) in expected_map { if *key == &state.key { - if !state.args.iter().eq(expected.iter()) { + if !state.args.iter().eq(&expected[..]) { return false; }