From 970c31a9fc42ec8c94162de90f14435e0abc369e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Kj=C3=A4ll?= Date: Thu, 18 Sep 2025 09:20:56 +0200 Subject: [PATCH] fix tests on 32-bit architecture --- tests/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.rs b/tests/test.rs index ab9753a..345f275 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -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,