()
| 1985 | |
| 1986 | #[test] |
| 1987 | fn parse_jsonc_trailing_comma_object() { |
| 1988 | let input = r#"{"a": 1, "b": 2,}"#; |
| 1989 | let v = parse_jsonc(input); |
| 1990 | assert_eq!(v["a"], 1); |
| 1991 | assert_eq!(v["b"], 2); |
| 1992 | } |
| 1993 | |
| 1994 | #[test] |
| 1995 | fn parse_jsonc_trailing_comma_array() { |
nothing calls this directly
no test coverage detected