()
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected