Skip to content

Commit

Permalink
Recover proper regression test for issue #16278.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnkfelix committed Sep 11, 2018
1 parent f17c230 commit 8a580ba
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
@@ -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
@@ -0,0 +1 @@
issue-16278.rs -text
5 changes: 3 additions & 2 deletions src/test/ui/run-pass/issues/issue-16278.rs
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 8a580ba

Please sign in to comment.