diff options
author | w0rp <devw0rp@gmail.com> | 2017-11-15 17:21:17 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-11-15 17:21:17 +0000 |
commit | b14377915b9948454322cd95a86bcc298c03f77a (patch) | |
tree | fb67e7281a8778bd4a50676a2be7fb11fd846d54 /test/handler/test_nix_handler.vader | |
parent | e721f851b41b8f6f31067ae2a137019e1cb5546c (diff) | |
download | ale-b14377915b9948454322cd95a86bcc298c03f77a.zip |
Clean up tests to stop people copy and pasting the wrong examples
Diffstat (limited to 'test/handler/test_nix_handler.vader')
-rw-r--r-- | test/handler/test_nix_handler.vader | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/handler/test_nix_handler.vader b/test/handler/test_nix_handler.vader index 1555e59d..398e1ac8 100644 --- a/test/handler/test_nix_handler.vader +++ b/test/handler/test_nix_handler.vader @@ -1,6 +1,10 @@ -Execute(The nix handler should parse nix-instantiate error messages correctly): +Before: runtime ale_linters/nix/nix.vim +After: + call ale#linter#Reset() + +Execute(The nix handler should parse nix-instantiate error messages correctly): AssertEqual \ [ \ { @@ -22,6 +26,3 @@ Execute(The nix handler should parse nix-instantiate error messages correctly): \ 'error: syntax error, unexpected IN, at /path/to/filename.nix:23:14', \ 'error: syntax error, unexpected ''='', expecting '';'', at /path/to/filename.nix:3:12', \ ]) - -After: - call ale#linter#Reset() |