()
| 167 | |
| 168 | #[test] |
| 169 | fn json_input_detected_correctly() { |
| 170 | let json_bytes = b"{\"x\":1}"; |
| 171 | let decoded = decode_document(json_bytes).unwrap(); |
| 172 | assert_eq!(decoded["x"], 1); |
| 173 | } |
| 174 | |
| 175 | #[test] |
| 176 | fn msgpack_input_detected_correctly() { |
nothing calls this directly
no test coverage detected