emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/rust-mode 67f4832 099/486: Fix tests broken by trailing wh


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode 67f4832 099/486: Fix tests broken by trailing whitespace removal
Date: Sat, 7 Aug 2021 09:24:57 -0400 (EDT)

branch: elpa/rust-mode
commit 67f483238447d465eaaf1d82b9d85fa8d7fc2bec
Author: Micah Chalmer <micah@micahchalmer.net>
Commit: Micah Chalmer <micah@micahchalmer.net>

    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

[Prev in Thread] Current Thread [Next in Thread]