Skip to content

Commit c2fe0d8

Browse files
committed
extend tests
1 parent 25c2382 commit c2fe0d8

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

tests/source/issue-3255.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
fn foo(){
22
if true { // Sample comment
3+
// second-line comment
34
1
45
}
56
}
@@ -24,3 +25,14 @@ fn foo(){
2425
1
2526
}
2627
}
28+
29+
// This isn't ideal.
30+
fn foo(){
31+
if true { /* Sample
32+
* another line
33+
* another line
34+
* end
35+
*/
36+
1
37+
}
38+
}

tests/target/issue-3255.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
fn foo() {
22
if true { // Sample comment
3+
// second-line comment
34
1
45
}
56
}
@@ -23,3 +24,14 @@ fn foo() {
2324
1
2425
}
2526
}
27+
28+
// This isn't ideal.
29+
fn foo() {
30+
if true { /* Sample
31+
* another line
32+
* another line
33+
* end
34+
*/
35+
1
36+
}
37+
}

0 commit comments

Comments
 (0)