summaryrefslogtreecommitdiff
path: root/test/test_linting_updates_loclist.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-03-12 22:46:33 +0000
committerw0rp <devw0rp@gmail.com>2017-03-12 22:46:33 +0000
commit711ab9936274608dad48b20b58727c416672c115 (patch)
tree02657ac97ed3d2b6618abe8080056a8d4865e502 /test/test_linting_updates_loclist.vader
parent382e569f668f7d7f1e21ff705a124cad54dabef1 (diff)
downloadale-711ab9936274608dad48b20b58727c416672c115.zip
#333 Remember the IDs for highlights
Diffstat (limited to 'test/test_linting_updates_loclist.vader')
-rw-r--r--test/test_linting_updates_loclist.vader4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_linting_updates_loclist.vader b/test/test_linting_updates_loclist.vader
index 2e106d05..a73a5048 100644
--- a/test/test_linting_updates_loclist.vader
+++ b/test/test_linting_updates_loclist.vader
@@ -36,4 +36,8 @@ Execute(The loclist should be updated after linting is done):
call ale#engine#WaitForJobs(2000)
AssertEqual ['' . bufnr('%')], keys(g:ale_buffer_info)
+
+ let g:expected_data[0].match_id = getmatches()[0].id
+ let g:expected_data[1].match_id = getmatches()[1].id
+
AssertEqual g:expected_data, g:ale_buffer_info[bufnr('%')].loclist