Skip to content

Commit

Permalink
Update call_spy_map.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-claudia authored Jun 29, 2024
1 parent d24a5ae commit ca21d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test_utils/spy/call_spy_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ impl<K: PartialEq, I, O> CallSpyMap<K, I, O> {
'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;
}

Expand Down

0 comments on commit ca21d2d

Please sign in to comment.