()
| 113 | |
| 114 | #[test] |
| 115 | fn test_protocols_deduped() { |
| 116 | let service = LspsService::builder() |
| 117 | .with_protocol(MockProtocol(2)) |
| 118 | .with_protocol(MockProtocol(2)) |
| 119 | .build(); |
| 120 | |
| 121 | assert_eq!(service.protocols(), &[2]); |
| 122 | } |
| 123 | |
| 124 | #[test] |
| 125 | fn test_protocol_zero_filtered() { |
nothing calls this directly
no test coverage detected