diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-09-11 23:33:22 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-09-11 23:33:22 +0200 |
| commit | 8a580baa278a1826d898f5f8c76ea4c40c35b2c3 (patch) | |
| tree | 4091147c0af8a72a23195d169f6b6aca2b64bce9 | |
| parent | f17c2306e2eba49f6447cfda831e4161bf0b618a (diff) | |
| download | rust-8a580baa278a1826d898f5f8c76ea4c40c35b2c3.tar.gz rust-8a580baa278a1826d898f5f8c76ea4c40c35b2c3.zip | |
Recover proper regression test for issue #16278.
| -rw-r--r-- | src/test/run-pass/.gitattributes | 1 | ||||
| -rw-r--r-- | src/test/ui/run-pass/issues/.gitattributes | 1 | ||||
| -rw-r--r-- | src/test/ui/run-pass/issues/issue-16278.rs | 5 |
3 files changed, 4 insertions, 3 deletions
diff --git a/src/test/run-pass/.gitattributes b/src/test/run-pass/.gitattributes index 46db548a8c4..c6a6f23074d 100644 --- a/src/test/run-pass/.gitattributes +++ b/src/test/run-pass/.gitattributes @@ -1,2 +1 @@ lexer-crlf-line-endings-string-literal-doc-comment.rs -text -issue-16278.rs -text diff --git a/src/test/ui/run-pass/issues/.gitattributes b/src/test/ui/run-pass/issues/.gitattributes new file mode 100644 index 00000000000..4517a4a2f1e --- /dev/null +++ b/src/test/ui/run-pass/issues/.gitattributes @@ -0,0 +1 @@ +issue-16278.rs -text diff --git a/src/test/ui/run-pass/issues/issue-16278.rs b/src/test/ui/run-pass/issues/issue-16278.rs index 831e83c8c4b..c3b6c5a38ba 100644 --- a/src/test/ui/run-pass/issues/issue-16278.rs +++ b/src/test/ui/run-pass/issues/issue-16278.rs @@ -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" "); } + |
