Skip to content

Commit ada9eca

Browse files
committed
remove the test which was automated with a strum macro
1 parent acfb5c5 commit ada9eca

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/lib.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -627,15 +627,6 @@ fn protocol_stack() {
627627
}
628628
}
629629

630-
// Assert all `Protocol` variants are covered
631-
// in its `Arbitrary` impl.
632-
#[cfg(nightly)]
633-
#[test]
634-
fn arbitrary_impl_for_all_proto_variants() {
635-
let variants = core::mem::variant_count::<Protocol>() as u8;
636-
assert_eq!(variants, Proto::IMPL_VARIANT_COUNT);
637-
}
638-
639630
mod multiaddr_with_p2p {
640631
use multiaddr::{Multiaddr, PeerId};
641632

0 commit comments

Comments
 (0)