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 0daa72b commit 942f46e
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 @@ -136,7 +136,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 *key == &state.key {
if !state.args.iter().eq(&expected) {
return false;
}
Expand Down

0 comments on commit 942f46e

Please sign in to comment.