()
| 1978 | |
| 1979 | #[test] |
| 1980 | fn parse_jsonc_block_comment() { |
| 1981 | let input = "{ /* block comment */ \"key\": \"val\" }"; |
| 1982 | let v = parse_jsonc(input); |
| 1983 | assert_eq!(v["key"], "val"); |
| 1984 | } |
| 1985 | |
| 1986 | #[test] |
| 1987 | fn parse_jsonc_trailing_comma_object() { |
nothing calls this directly
no test coverage detected