()
| 5630 | |
| 5631 | #[test] |
| 5632 | fn test_parse_jsonc() { |
| 5633 | let input = r#"{ |
| 5634 | // line comment |
| 5635 | "a": 1, |
| 5636 | /* block */ "b": 2, |
| 5637 | }"#; |
| 5638 | let val = parse_jsonc(input); |
| 5639 | assert_eq!(val["a"], 1); |
| 5640 | assert_eq!(val["b"], 2); |
| 5641 | } |
| 5642 | |
| 5643 | // --------------------------------------------------------------------------- |
| 5644 | // 7. is_detected / has_tracedecay tests |
nothing calls this directly
no test coverage detected