File: fix-test-32-bit.patch

package info (click to toggle)
rust-uutils-term-grid 0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 180 kB
  • sloc: makefile: 4
file content (11 lines) | stat: -rw-r--r-- 410 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- rust-uutils-term-grid-0.6.0.orig/tests/test.rs
+++ rust-uutils-term-grid-0.6.0/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,