File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -609,7 +609,7 @@ foo = do
609
609
where
610
610
bar = undefined"
611
611
((4 0 ) 4 ))
612
-
612
+
613
613
(hindent-test " 27* expecting then (GH-884)" "
614
614
foo = do
615
615
if True
@@ -906,5 +906,13 @@ function =
906
906
(should (equal 4 (count-lines (point-min ) (point ))))
907
907
(should (equal 2 (- (point ) (line-beginning-position )))))
908
908
909
+ (ert-deftest haskell-indentation-altj-comment ()
910
+ :expected-result :failed
911
+ (switch-to-buffer (get-buffer-create " another.hs" ))
912
+ (haskell-mode )
913
+ (insert " main = do\n return ()\n\n -- comment" )
914
+ (execute-kbd-macro (kbd " M-j" ))
915
+ (should (equal 2 (count-lines (point-min ) (point ))))
916
+ (should (equal 3 (- (point ) (line-beginning-position )))))
909
917
910
918
; ;; haskell-indentation-tests.el ends here
You can’t perform that action at this time.
0 commit comments