Skip to content

Commit

Permalink
simplify test with usize
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Aug 24, 2024
1 parent 5dc3fee commit 1afd728
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,7 @@ fn test_verifier_err_jmp_out_start() {
else {
panic!("Expected VerifierError::JumpOutOfCode")
};
#[cfg(target_arch = "wasm32")]
assert_eq!(a as u32, u32::MAX);
#[cfg(not(target_arch = "wasm32"))]
assert_eq!(a as u64, u64::MAX);
assert_eq!(a, usize::MAX);
assert_eq!(b, 0);
}

Expand Down

0 comments on commit 1afd728

Please sign in to comment.