()
| 28 | |
| 29 | #[test] |
| 30 | fn encode_count_msg() { |
| 31 | let bytes = encode_count("inserted", 42).unwrap(); |
| 32 | let json = decode_payload_to_json(&bytes); |
| 33 | assert!(json.contains("\"inserted\"")); |
| 34 | assert!(json.contains("42")); |
| 35 | } |
| 36 | |
| 37 | #[test] |
| 38 | fn json_passthrough() { |
nothing calls this directly
no test coverage detected