Skip to content

Commit e53d09f

Browse files
committed
Merge pull request #717 from gracjan/pr-layout-vs-braces-comma
Add test layout versus comma in braces
2 parents 027c869 + 080ecd6 commit e53d09f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/haskell-indentation-tests.el

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,3 +320,13 @@ Example of lines:
320320
"instance (Monad m) => C m a where"
321321
" c = undefined"
322322
" ^"))
323+
324+
(ert-deftest haskell-indentation-check-instance-21a ()
325+
"layout versus comma in braces"
326+
(haskell-indentation-check
327+
"main :: IO ()"
328+
"main = do"
329+
"let foo = Foo {"
330+
" bar = 0"
331+
" , baz = 0"
332+
" ^"))

0 commit comments

Comments
 (0)