test(web): skip 64-bit test on 32-bit platforms (#3993)

This commit is contained in:
Yuki Okushi 2026-03-31 18:05:52 +09:00 committed by GitHub
parent 6689259e4d
commit 4702c0fdf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -214,7 +214,11 @@ mod tests {
assert_parse_eq::<ContentLength, _, _>([" 0"], ContentLength(0));
assert_parse_eq::<ContentLength, _, _>(["0 "], ContentLength(0));
assert_parse_eq::<ContentLength, _, _>([" 0 "], ContentLength(0));
}
#[cfg(target_pointer_width = "64")]
#[test]
fn good_header_max_usize() {
// large value (2^64 - 1)
assert_parse_eq::<ContentLength, _, _>(
["18446744073709551615"],