fix tests on 32-bit architecture

This commit is contained in:
Alexander Kjäll
2025-09-18 09:20:56 +02:00
parent f0921d48e1
commit 970c31a9fc
+1 -1
View File
@@ -193,7 +193,7 @@ fn emoji() {
// checking that we do not get a panic.
#[test]
fn possible_underflow() {
let cells: Vec<_> = (0..48).map(|i| 2_isize.pow(i).to_string()).collect();
let cells: Vec<_> = (0..48).map(|i| 2_i64.pow(i).to_string()).collect();
let grid = Grid::new(
cells,