Skip to content

Commit 089c941

Browse files
committed
Handle case expressions properly, tests
1 parent 6feda23 commit 089c941

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/haskell-indentation-tests.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ function =
852852
"
853853
(84 4))
854854

855-
(hindent-test "46* case expression with paths on their own lines" "
855+
(hindent-test "46 case expression with paths on their own lines" "
856856
fact n =
857857
case n of
858858
0 -> 1
@@ -861,8 +861,8 @@ fact n =
861861
(1 0)
862862
(2 2)
863863
(3 4)
864-
(4 0 2 4 9)
865-
(5 0 2 4 9))
864+
(4 0 2 4 6)
865+
(5 0 2 4 6))
866866

867867
(ert-deftest haskell-indentation-ret-indents ()
868868
(switch-to-buffer (get-buffer-create "source.hs"))

0 commit comments

Comments
 (0)