Skip to content

Commit

Permalink
Exclude slice length tests with non 32 bit system compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianSchmid committed Feb 11, 2024
1 parent c516584 commit 995815c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etherparse/src/transport/icmpv6_header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ mod test {
}

proptest! {
#[cfg(not(target_pointer_width = "32"))]
#[test]
fn with_checksum(
ip_header in ipv6_any(),
Expand Down Expand Up @@ -390,6 +391,7 @@ mod test {

proptest! {
#[test]
#[cfg(not(target_pointer_width = "32"))]
fn update_checksum(
ip_header in ipv6_any(),
icmp_type in icmpv6_type_any(),
Expand Down
2 changes: 2 additions & 0 deletions etherparse/src/transport/icmpv6_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ mod test {

proptest! {
#[test]
#[cfg(not(target_pointer_width = "32"))]
fn calc_checksum(
ip_header in ipv6_any(),
icmpv6_type in icmpv6_type_any(),
Expand Down Expand Up @@ -714,6 +715,7 @@ mod test {

proptest! {
#[test]
#[cfg(not(target_pointer_width = "32"))]
fn to_header(
ip_header in ipv6_any(),
icmpv6_type in icmpv6_type_any(),
Expand Down

0 comments on commit 995815c

Please sign in to comment.