MCPcopy Create free account
hub / github.com/dprint/jsonc-parser / strict_should_error_comment_line

Function strict_should_error_comment_line

src/parse_to_ast.rs:542–544  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

540
541 #[test]
542 fn strict_should_error_comment_line() {
543 assert_has_strict_error(r#"[ "test" ] // 1"#, "Comments are not allowed on line 1 column 12");
544 }
545
546 #[test]
547 fn strict_should_error_comment_block() {

Callers

nothing calls this directly

Calls 1

assert_has_strict_errorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…