diff --git a/tests/haskell-indentation-tests.el b/tests/haskell-indentation-tests.el index c852a7b6b..eb64bb7bf 100644 --- a/tests/haskell-indentation-tests.el +++ b/tests/haskell-indentation-tests.el @@ -896,6 +896,19 @@ foo x (2 2) (3 2)) +(hindent-test "55* data constructor on separate line" " +data Foo = Bar + | Baz" + (1 0) + (2 9)) + +(hindent-test "55a* deriving below aligned data constructors" " +data Foo = Bar + | Baz + deriving (Show)" + (1 0) + (2 9) + (3 9)) (ert-deftest haskell-indentation-ret-indents () (with-temp-switch-to-buffer