Skip to content

Commit 1fed251

Browse files
authored
Rollup merge of rust-lang#54142 - pnkfelix:fix-regression-test-for-16278, r=wesleywiser
Recover proper regression test for issue rust-lang#16278. Spawned from my note rust-lang#19955 (comment)
2 parents ac66146 + 8a580ba commit 1fed251

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Diff for: src/test/run-pass/.gitattributes

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
lexer-crlf-line-endings-string-literal-doc-comment.rs -text
2-
issue-16278.rs -text

Diff for: src/test/ui/run-pass/issues/.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
issue-16278.rs -text

Diff for: src/test/ui/run-pass/issues/issue-16278.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313

1414
// this file has some special \r\n endings (use xxd to see them)
1515

16-
fn main() {assert_eq!(b"", b"\
16+
fn main() {assert_eq!(b"", b"\
1717
");
18-
assert_eq!(b"\n", b"
18+
assert_eq!(b"\n", b"
1919
");
2020
}
21+

0 commit comments

Comments
 (0)