Skip to content

Commit d0366db

Browse files
committed
tests: add a quick test to make sure slashdashes are also being preserved
1 parent 413b0ec commit d0366db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/document.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ baz
581581
582582
// child 2 comment
583583
584-
child2 2 // comment
584+
child2 2 /-3 // comment
585585
586586
child3 "
587587
@@ -616,7 +616,7 @@ baz
616616
foo 1 bar=0xdeadbeef {
617617
child1 1
618618
// child 2 comment
619-
child2 2 // comment
619+
child2 2 /-3 // comment
620620
child3 "\nstring\t" {
621621
/*
622622

0 commit comments

Comments
 (0)