mirror of https://github.com/fafhrd91/actix-web
test(web): skip 64-bit test on 32-bit platforms (#3993)
This commit is contained in:
parent
6689259e4d
commit
4702c0fdf9
|
|
@ -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"],
|
||||
|
|
|
|||
Loading…
Reference in New Issue