MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / crlf_matches_js_reference

Function crlf_matches_js_reference

codegraph-kernel/src/docstring.rs:290–299  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

288 /// on a CRLF checkout — the Windows autocrlf shape).
289 #[test]
290 fn crlf_matches_js_reference() {
291 assert_eq!(
292 clean_comment_markers("/**\r\n * Class docs.\r\n * Multi-line.\r\n */"),
293 "Class docs.\rMulti-line."
294 );
295 assert_eq!(
296 clean_comment_markers("// a\r\n// b"),
297 "a\r\nb"
298 );
299 }
300
301 /// A `step_over` kind is passed without ending the run, and the comments
302 /// on either side of it join; any other node still ends it. With no

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected