Skip to content

Commit

Permalink
fix(tests/instruction): compare next to follow
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Jan 10, 2024
1 parent ec115be commit c104c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/instruction.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ suite<"Instruction"> instruction_suite = []
auto next = follow->next();

expect(eq(next.has_value(), true));
expect(gt(next->addr(), instruction->addr()));
expect(gt(next->addr(), follow->addr()));

auto prev = next->prev();

Expand Down

0 comments on commit c104c72

Please sign in to comment.