Skip to content

Commit

Permalink
Rollup merge of rust-lang#54142 - pnkfelix:fix-regression-test-for-16…
Browse files Browse the repository at this point in the history
…278, r=wesleywiser

Recover proper regression test for issue rust-lang#16278.

Spawned from my note rust-lang#19955 (comment)
  • Loading branch information
kennytm committed Sep 12, 2018
2 parents ac66146 + 8a580ba commit 1fed251
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/test/run-pass/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
lexer-crlf-line-endings-string-literal-doc-comment.rs -text
issue-16278.rs -text
1 change: 1 addition & 0 deletions src/test/ui/run-pass/issues/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
issue-16278.rs -text
5 changes: 3 additions & 2 deletions src/test/ui/run-pass/issues/issue-16278.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@

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

fn main() {assert_eq!(b"", b"\
fn main() {assert_eq!(b"", b"\
");
assert_eq!(b"\n", b"
assert_eq!(b"\n", b"
");
}

0 comments on commit 1fed251

Please sign in to comment.