Skip to content

Commit 5451ecc

Browse files
committed
Fix missing #[test]
1 parent 5b3d6fc commit 5451ecc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wire/ip.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,7 @@ pub(crate) mod test {
958958
test_eq(32, Ipv4Address::new(255, 255, 255, 255));
959959
}
960960

961+
#[test]
961962
#[cfg(feature = "proto-ipv4")]
962963
fn to_prefix_len_ipv4_error() {
963964
assert_eq!(
@@ -982,6 +983,7 @@ pub(crate) mod test {
982983
);
983984
}
984985

986+
#[test]
985987
#[cfg(feature = "proto-ipv6")]
986988
fn to_prefix_len_ipv6_error() {
987989
assert_eq!(

0 commit comments

Comments
 (0)