summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Chalmer <micah@micahchalmer.net>2015-02-02 00:01:02 -0500
committerMicah Chalmer <micah@micahchalmer.net>2015-02-02 00:01:02 -0500
commit67f483238447d465eaaf1d82b9d85fa8d7fc2bec (patch)
tree03ba744aafda1bbfd6ed4318d7f421a2e0675407
parent4659aeedcb009016c8fac135878b7d624446f257 (diff)
downloadrust-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.el7
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 ()