summaryrefslogtreecommitdiff
path: root/test/test_linting_blacklist.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-31 14:47:08 +0000
committerw0rp <devw0rp@gmail.com>2016-10-31 14:47:08 +0000
commit614a30a508bc324b9349cd1814964fb93146bee8 (patch)
tree1cfae944156d8658da368252afcd9879e046d1ca /test/test_linting_blacklist.vader
parentcb410927d1d45b6b3bda0882037d68fa804933ff (diff)
downloadale-614a30a508bc324b9349cd1814964fb93146bee8.zip
Improve file blacklisting to make Unite.vim not fuck up.
Diffstat (limited to 'test/test_linting_blacklist.vader')
-rw-r--r--test/test_linting_blacklist.vader11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test_linting_blacklist.vader b/test/test_linting_blacklist.vader
new file mode 100644
index 00000000..918209d5
--- /dev/null
+++ b/test/test_linting_blacklist.vader
@@ -0,0 +1,11 @@
+Given unite (A Unite.vim file):
+ anything
+
+After:
+ let g:ale_buffer_info = {}
+
+Execute(Running ALE on a blacklisted file shouldn't change anything):
+ call ale#Lint()
+ call ale#engine#WaitForJobs(2000)
+
+ AssertEqual {}, g:ale_buffer_info