Skip to content

Commit ec8a93d

Browse files
committed
Don't use a 64 bit integer literal, or tests will break on 32 bit arches.
1 parent dd4495f commit ec8a93d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ mod tests {
448448
fn must_panic_on_out_of_bounds_range() {
449449
test_everything::<Compact>(
450450
Constructor::New,
451-
vec![Action::Slice(TestBounds::Range(0, 13764126361151078400))],
451+
vec![Action::Slice(TestBounds::Range(0, usize::MAX - 1))],
452452
);
453453
}
454454

0 commit comments

Comments
 (0)