summaryrefslogtreecommitdiff
path: root/test/test_ale_lint_command.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-13 22:27:01 +0100
committerw0rp <devw0rp@gmail.com>2017-08-13 22:27:01 +0100
commit79701f6f200489d0eef2ea6e91f7e46be012cdd3 (patch)
tree99e3b95b01e62ab2faafd30b30a2bd29c53d43d9 /test/test_ale_lint_command.vader
parent2d02de33d4ac8b90437b13467956530b8df32bf1 (diff)
downloadale-79701f6f200489d0eef2ea6e91f7e46be012cdd3.zip
#653 Skip filetype keys in g:ale_buffer_info during cleanup
Diffstat (limited to 'test/test_ale_lint_command.vader')
-rw-r--r--test/test_ale_lint_command.vader6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_ale_lint_command.vader b/test/test_ale_lint_command.vader
index 9e70017c..42554ec1 100644
--- a/test/test_ale_lint_command.vader
+++ b/test/test_ale_lint_command.vader
@@ -1,4 +1,8 @@
Before:
+ Save g:ale_buffer_info
+
+ let g:ale_buffer_info = {}
+
let g:expected_loclist = [{
\ 'bufnr': bufnr('%'),
\ 'lnum': 2,
@@ -38,6 +42,8 @@ Before:
\})
After:
+ Restore
+
unlet! g:expected_loclist
unlet! g:expected_groups