branch: elpa/haskell-tng-mode commit 144cabf63d8f0dc2a50b8b4391e415dfc5a97105 Author: Tseen She <ts33n....@gmail.com> Commit: Tseen She <ts33n....@gmail.com>
fix test assertions --- test/src/indentation.hs.layout | 6 ++++++ test/src/indentation.hs.lexer | 6 ++++++ test/src/indentation.hs.sexps | 6 ++++++ test/src/indentation.hs.syntax | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/test/src/indentation.hs.layout b/test/src/indentation.hs.layout index e9c5438..3a54343 100644 --- a/test/src/indentation.hs.layout +++ b/test/src/indentation.hs.layout @@ -135,6 +135,12 @@ module Indentation where -> b -> c +;types2b + :: (Monad m, MemberLogger m) + => a + -> b + -> c + ;types3 :: (Monad m, MonadReader Foo m) => (?log :: HasLogger m) => a -> b -> c diff --git a/test/src/indentation.hs.lexer b/test/src/indentation.hs.lexer index 0836754..ecf1659 100644 --- a/test/src/indentation.hs.lexer +++ b/test/src/indentation.hs.lexer @@ -135,6 +135,12 @@ CONID VARID => VARID => VARID +; VARID +:: « CONID VARID , CONID VARID » +=> VARID +=> VARID +=> VARID + ; VARID :: « CONID VARID , CONID CONID VARID » => « VARID :: CONID VARID » => VARID => VARID => VARID diff --git a/test/src/indentation.hs.sexps b/test/src/indentation.hs.sexps index 3679272..f847a8d 100644 --- a/test/src/indentation.hs.sexps +++ b/test/src/indentation.hs.sexps @@ -135,6 +135,12 @@ -> (b) -> (c)) +((types2b) + :: ((Monad) (m), (MemberLogger) (m)) + => (a) + -> (b) + -> (c)) + ((types3) :: ((Monad) (m), (MonadReader) (Foo) (m)) => ((?log) :: (HasLogger) (m)) => (a) -> (b) -> (c)))))))))))))) diff --git a/test/src/indentation.hs.syntax b/test/src/indentation.hs.syntax index 8a59b88..7577f1a 100644 --- a/test/src/indentation.hs.syntax +++ b/test/src/indentation.hs.syntax @@ -135,6 +135,12 @@ wwwwww __ (wwwww w. wwwwwwwwwwww w)> __ w> __ w> > +wwwwwww> + __ (wwwww w. wwwwwwwwwwww w)> + __ w> + __ w> + __ w> +> wwwwww __ (wwwww w. wwwwwwwwwww www w) __> (_www __ wwwwwwwww w) __> w __ w __ w>