()
| 132 | |
| 133 | #[test] |
| 134 | fn multiple_fields() { |
| 135 | let doc = encode(&json!({"city": "ny", "year": 2024})); |
| 136 | let key = build_group_key(&doc, &["city".into(), "year".into()]); |
| 137 | assert_eq!(key, r#"["ny",2024]"#); |
| 138 | } |
| 139 | |
| 140 | #[test] |
| 141 | fn missing_field_is_null() { |
nothing calls this directly
no test coverage detected