()
| 603 | |
| 604 | #[test] |
| 605 | fn test_subprotocols() { |
| 606 | let sub_proto = test_utils::custom_subprotocol(); |
| 607 | let super_proto = test_utils::custom_protocol(); |
| 608 | assert!(sub_proto.conforms_to(super_proto)); |
| 609 | let adopted_protocols = sub_proto.adopted_protocols(); |
| 610 | assert_eq!(adopted_protocols[0], super_proto); |
| 611 | } |
| 612 | |
| 613 | #[test] |
| 614 | fn test_protocols() { |
nothing calls this directly
no test coverage detected