()
| 202 | |
| 203 | #[test] |
| 204 | fn test_extract_json_array() { |
| 205 | let input = r#"[{"a": 1}, {"a": 2}]"#; |
| 206 | let result = extract_json_value(input).unwrap(); |
| 207 | assert_eq!(result[0]["a"], 1); |
| 208 | } |
| 209 | |
| 210 | #[test] |
| 211 | fn test_extract_json_no_json() { |
nothing calls this directly
no test coverage detected