Fix test for only_i32.

This commit is contained in:
Stephen Chung 2022-01-14 23:19:27 +08:00
parent ae77582028
commit 2677e7dc8a

View File

@ -34,6 +34,7 @@ fn test_bit_fields() -> Result<(), Box<EvalAltResult>> {
14 14
); );
#[cfg(target_pointer_width = "64")] #[cfg(target_pointer_width = "64")]
#[cfg(not(feature = "only_i32"))]
{ {
assert_eq!(engine.eval::<INT>("let x = 255; get_bits(x, -60, 2)")?, 3); assert_eq!(engine.eval::<INT>("let x = 255; get_bits(x, -60, 2)")?, 3);
assert_eq!( assert_eq!(