Commit ea8a7bb
fix(test): Conditionalize a zip64 doctest (#308)
The doctest associated with `ZIP64_BYTES_THR` fails on 32-bit
architectures because `usize` is smaller than `u64`, so the expression
`(zip::ZIP64_BYTES_THR as usize) + 1` would overflow.
Co-authored-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>1 parent 365c81a commit ea8a7bb
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| |||
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| 134 | + | |
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
| |||
0 commit comments