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:
commit
1fed251927
3 changed files with 4 additions and 3 deletions
1
src/test/run-pass/.gitattributes
vendored
1
src/test/run-pass/.gitattributes
vendored
|
|
@ -1,2 +1 @@
|
|||
lexer-crlf-line-endings-string-literal-doc-comment.rs -text
|
||||
issue-16278.rs -text
|
||||
|
|
|
|||
1
src/test/ui/run-pass/issues/.gitattributes
vendored
Normal file
1
src/test/ui/run-pass/issues/.gitattributes
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
issue-16278.rs -text
|
||||
|
|
@ -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"
|
||||
");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue