()
| 182 | |
| 183 | #[test] |
| 184 | fn already_msgpack_unchanged() { |
| 185 | let value = serde_json::json!({"a": 1}); |
| 186 | let msgpack = nodedb_types::json_to_msgpack(&value).unwrap(); |
| 187 | let result = json_to_msgpack(&msgpack); |
| 188 | assert_eq!(result, msgpack, "msgpack should pass through unchanged"); |
| 189 | } |
| 190 | |
| 191 | #[test] |
| 192 | fn noncanonical_msgpack_is_not_rewritten_on_read_path() { |
nothing calls this directly
no test coverage detected