Skip to content

Commit

Permalink
fix: Fix rust test that was missing a parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
mlgiraud committed Mar 11, 2024
1 parent 0068041 commit d4f5bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rust-tests/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ fn x86_block_callback() {
assert_eq!(emu.mem_write(0x1000, &x86_code32), Ok(()));

let hook = emu
.add_block_hook(callback)
.add_block_hook(1, 0, callback)
.expect("failed to add block hook");
assert_eq!(
emu.emu_start(0x1000, 0x1002, 10 * SECOND_SCALE, 1000),
Expand Down

0 comments on commit d4f5bf1

Please sign in to comment.