Skip to content

Commit e3cfd09

Browse files
committed
Fix fill-comment tests with respect to adaptive-fill-mode
1 parent 83f46b9 commit e3cfd09

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/haskell-mode-tests.el

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ the beginning of the buffer.
297297

298298
(ert-deftest fill-comment-2 ()
299299
(check-fill '("{- a b c d e"
300-
"f g h i j"
301-
"k -}")
300+
" f g h i j"
301+
" k -}")
302302
'("{- @a b c d e f g h i j k -}")))
303303

304304
(ert-deftest fill-comment-3 ()
@@ -322,7 +322,7 @@ the beginning of the buffer.
322322
(ert-deftest fill-comment-5 ()
323323
(check-fill '(" {-"
324324
" a b c d e"
325-
"f g h i"
325+
" f g h i"
326326
" -}")
327327
'(" {-" " @a b c d e f g h i" " -}")))
328328

@@ -398,7 +398,6 @@ Also should respect 10 column fill."
398398
as defined, just the content should move properly.
399399
400400
Also should respect 10 column fill."
401-
:expected-result :failed
402401
(check-fill '(" -- a b"
403402
" -- c d e"
404403
" -- f g h"
@@ -412,7 +411,6 @@ as defined, just the content should move properly. Following
412411
lines should take position from second line.
413412
414413
Also should respect 10 column fill."
415-
:expected-result :failed
416414
(check-fill '(" -- a b"
417415
" -- c d e"
418416
" -- f g h"

0 commit comments

Comments
 (0)