diff options
| author | Marcus Klaas <mail@marcusklaas.nl> | 2015-12-02 21:03:41 +0100 |
|---|---|---|
| committer | Marcus Klaas <mail@marcusklaas.nl> | 2015-12-02 21:03:41 +0100 |
| commit | 9734bd05afb6b1ab2505a88f9bfb94de5d4d45c5 (patch) | |
| tree | 29b8d59ec060d26c61b651676855342290d69077 | |
| parent | 34737529db58b041f46ff25c37ef47c57553038e (diff) | |
Add regression test for backslash stripping
| -rw-r--r-- | tests/source/string-lit.rs | 2 | ||||
| -rw-r--r-- | tests/target/string-lit.rs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/source/string-lit.rs b/tests/source/string-lit.rs index 35d8ec072c2..9ea2aad3c5c 100644 --- a/tests/source/string-lit.rs +++ b/tests/source/string-lit.rs @@ -22,6 +22,8 @@ not remove formatting"#; + filename.replace(" ", "\\" ); + let xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx = funktion("yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"); diff --git a/tests/target/string-lit.rs b/tests/target/string-lit.rs index 36f8f6a48f9..e83c905ae63 100644 --- a/tests/target/string-lit.rs +++ b/tests/target/string-lit.rs @@ -25,6 +25,8 @@ not remove formatting"#; + filename.replace(" ", "\\"); + let xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx = funktion("yyyyyyyyyyyyyyyyyyyyy\ yyyyyyyyyyyyyyyyyyyyy\ yyyyyyyyyyyyyyyyyyyyy\ |
