Skip to content

Commit

Permalink
fix nit
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshkshah1992 committed Nov 8, 2023
1 parent 3ff4733 commit 7820806
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions vm_api/src/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,6 @@ impl ExpectInvocation {
assert_eq!(*emitted, *expected);
}

for (i, event) in emitted_events.iter().enumerate() {
let expect_event = expected_events.get(i).unwrap();
// only try to match if required fields match
assert_eq!(*event, *expect_event);
}

if let Some(expect_subinvocs) = &self.subinvocs {
let subinvocs = &invoc.subinvocations;

Expand Down

0 comments on commit 7820806

Please sign in to comment.