Rollup merge of #54142 - pnkfelix:fix-regression-test-for-16278, r=wesleywiser

Recover proper regression test for issue #16278.

Spawned from my note https://github.com/rust-lang/rust/pull/19955#issuecomment-420430761
This commit is contained in:
kennytm 2018-09-12 12:17:40 +08:00 committed by GitHub
commit 1fed251927
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -1,2 +1 @@
lexer-crlf-line-endings-string-literal-doc-comment.rs -text
issue-16278.rs -text

View file

@ -0,0 +1 @@
issue-16278.rs -text

View file

@ -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"
");
}