()
| 1963 | |
| 1964 | #[test] |
| 1965 | fn parse_jsonc_plain_json() { |
| 1966 | let input = r#"{"key": "value", "num": 42}"#; |
| 1967 | let v = parse_jsonc(input); |
| 1968 | assert_eq!(v["key"], "value"); |
| 1969 | assert_eq!(v["num"], 42); |
| 1970 | } |
| 1971 | |
| 1972 | #[test] |
| 1973 | fn parse_jsonc_line_comment() { |
nothing calls this directly
no test coverage detected