We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7933ca9 + f724b92 commit 22a7e73Copy full SHA for 22a7e73
tests/haskell-indentation-tests.el
@@ -850,6 +850,17 @@ function =
850
"
851
((84 0) 4))
852
853
+(hindent-test "46* case expression with paths on their own lines" "
854
+fact n =
855
+ case n of
856
+ 0 -> 1
857
+ _ -> n * fact (n - 1)
858
+"
859
+ ((1 0) 0)
860
+ ((2 0) 2)
861
+ ((3 0) 4)
862
+ ((4 0) 4)
863
+ ((5 0) 0 2 4 18))
864
865
(ert-deftest haskell-indentation-ret-indents ()
866
(switch-to-buffer (get-buffer-create "source.hs"))
0 commit comments