()
| 294 | |
| 295 | #[test] |
| 296 | fn hash_from_extracted_field() { |
| 297 | let buf = encode(&json!({"id": 42})); |
| 298 | let range = crate::msgpack_scan::field::extract_field(&buf, 0, "id").unwrap(); |
| 299 | let h = hash_field_bytes(&buf, range); |
| 300 | assert_ne!(h, 0); |
| 301 | } |
| 302 | } |
nothing calls this directly
no test coverage detected