From 67f483238447d465eaaf1d82b9d85fa8d7fc2bec Mon Sep 17 00:00:00 2001 From: Micah Chalmer Date: Mon, 2 Feb 2015 00:01:02 -0500 Subject: [PATCH] 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 f255dbf1..54b4524d 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 ()