We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11b255b commit d36e3e8Copy full SHA for d36e3e8
tests/haskell-indentation-tests.el
@@ -896,6 +896,19 @@ foo x
896
(2 2)
897
(3 2))
898
899
+(hindent-test "55 data constructor on separate line" "
900
+data Foo = Bar
901
+ | Baz"
902
+ (1 0)
903
+ (2 9))
904
+
905
+(hindent-test "55a deriving below aligned data constructors" "
906
907
+ | Baz
908
+ deriving (Show)"
909
910
+ (2 9)
911
+ (3 9))
912
913
(ert-deftest haskell-indentation-ret-indents ()
914
(with-temp-switch-to-buffer
0 commit comments