diff options
| author | Micah Chalmer <micah@micahchalmer.net> | 2015-02-02 00:01:02 -0500 |
|---|---|---|
| committer | Micah Chalmer <micah@micahchalmer.net> | 2015-02-02 00:01:02 -0500 |
| commit | 67f483238447d465eaaf1d82b9d85fa8d7fc2bec (patch) | |
| tree | 03ba744aafda1bbfd6ed4318d7f421a2e0675407 | |
| parent | 4659aeedcb009016c8fac135878b7d624446f257 (diff) | |
| download | rust-mode-67f483238447d465eaaf1d82b9d85fa8d7fc2bec.tar.gz | |
Fix tests broken by trailing whitespace removal
Commit a8fad0f broke the ERT tests by removing trailing whitespace
inside the test strings. Fix the tests, and replace some line endings
inside strings with explicit "\n" to avoid having further significant
trailing whitespace in the code.
| -rw-r--r-- | rust-mode-tests.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el index f255dbf..54b4524 100644 --- a/rust-mode-tests.el +++ b/rust-mode-tests.el @@ -246,8 +246,8 @@ fn bar() { }" 14 67)) "/** * */" - 8 - "This is a very very very very very very very long string" + 7 + " This is a very very very very very very very long string" "/** * This is a very very very very * very very very long string @@ -317,8 +317,7 @@ fn foo() { /*! * this is a nested doc comment */ - - //! And so is this + \n //! And so is this }")) (ert-deftest indent-inside-braces () |
