diff options
author | w0rp <devw0rp@gmail.com> | 2017-06-25 17:08:57 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-06-25 17:08:57 +0100 |
commit | 93473a410139f4c094ae491e690bb22b40648214 (patch) | |
tree | 946fdc5ecb87dcd5e351ccc5b454121797ee63f1 /test/handler/test_ghc_mod_handler.vader | |
parent | 229a1c092a6f7d5116590bed2cf0e97ad63bbc7c (diff) | |
download | ale-93473a410139f4c094ae491e690bb22b40648214.zip |
Fix #690 - Filter out errors from other files for Haskell
Diffstat (limited to 'test/handler/test_ghc_mod_handler.vader')
-rw-r--r-- | test/handler/test_ghc_mod_handler.vader | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/handler/test_ghc_mod_handler.vader b/test/handler/test_ghc_mod_handler.vader index f9b44b33..53991bb6 100644 --- a/test/handler/test_ghc_mod_handler.vader +++ b/test/handler/test_ghc_mod_handler.vader @@ -1,4 +1,6 @@ Execute(HandleGhcFormat should handle ghc-mod problems): + call ale#test#SetFilename('check2.hs') + AssertEqual \ [ \ { @@ -21,7 +23,8 @@ Execute(HandleGhcFormat should handle ghc-mod problems): \ }, \ ], \ ale#handlers#haskell#HandleGHCFormat(bufnr(''), [ - \ 'check1.hs:2:1:Failed to load interface for ‘Missing’Use -v to see a list of the files searched for.', + \ 'check2.hs:2:1:Failed to load interface for ‘Missing’Use -v to see a list of the files searched for.', \ 'check2.hs:2:1: Suggestion: Use camelCaseFound: my_variable = ...Why not: myVariable = ...', \ 'check2.hs:6:1: Warning: Eta reduceFound: myFunc x = succ xWhy not: myFunc = succ', + \ 'xxx.hs:6:1: Warning: Eta reduceFound: myFunc x = succ xWhy not: myFunc = succ', \ ]) |