branch: elpa/rust-mode
commit 67f483238447d465eaaf1d82b9d85fa8d7fc2bec
Author: Micah Chalmer <[email protected]>
Commit: Micah Chalmer <[email protected]>

    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.
---
 rust-mode-tests.el | 7 +++----
 1 file 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 ()

Reply via email to