Skip to content

Commit 67f4832

Browse files
committed
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.
1 parent 4659aee commit 67f4832

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

rust-mode-tests.el

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ fn bar() { }" 14 67))
246246
"/**
247247
*
248248
*/"
249-
8
250-
"This is a very very very very very very very long string"
249+
7
250+
" This is a very very very very very very very long string"
251251
"/**
252252
* This is a very very very very
253253
* very very very long string
@@ -317,8 +317,7 @@ fn foo() {
317317
/*!
318318
* this is a nested doc comment
319319
*/
320-
321-
//! And so is this
320+
\n //! And so is this
322321
}"))
323322

324323
(ert-deftest indent-inside-braces ()

0 commit comments

Comments
 (0)