summaryrefslogtreecommitdiff
path: root/test/test_ale_toggle.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-03-14 23:04:25 +0000
committerw0rp <devw0rp@gmail.com>2017-03-14 23:04:25 +0000
commit790c614b7a2360446aee6e003e3e834d21b2f04b (patch)
treec08da998269dbf732c539bc35f586d4892a1071b /test/test_ale_toggle.vader
parentd19a35485fef949c823657d548f4c0ddd78bbe4f (diff)
downloadale-790c614b7a2360446aee6e003e3e834d21b2f04b.zip
#333 Update line numbers for loclist items when current sign_id values are set
Diffstat (limited to 'test/test_ale_toggle.vader')
-rw-r--r--test/test_ale_toggle.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_ale_toggle.vader b/test/test_ale_toggle.vader
index 90dba401..2cd0110d 100644
--- a/test/test_ale_toggle.vader
+++ b/test/test_ale_toggle.vader
@@ -85,7 +85,7 @@ Execute(ALEToggle should reset everything and then run again):
" First check that everything is there...
AssertEqual g:expected_loclist, getloclist(0)
- AssertEqual [[2, 1000001]], ale#sign#FindCurrentSigns(bufnr('%'))
+ AssertEqual [[2, 1000001, 'ALEErrorSign']], ale#sign#FindCurrentSigns(bufnr('%'))
AssertEqual
\ [{'group': 'ALEError', 'pos1': [2, 3, 1]}],
\ map(getmatches(), '{''group'': v:val.group, ''pos1'': v:val.pos1}')
@@ -105,7 +105,7 @@ Execute(ALEToggle should reset everything and then run again):
call ale#engine#WaitForJobs(2000)
AssertEqual g:expected_loclist, getloclist(0)
- AssertEqual [[2, 1000001]], ale#sign#FindCurrentSigns(bufnr('%'))
+ AssertEqual [[2, 1000001, 'ALEErrorSign']], ale#sign#FindCurrentSigns(bufnr('%'))
AssertEqual
\ [{'group': 'ALEError', 'pos1': [2, 3, 1]}],
\ map(getmatches(), '{''group'': v:val.group, ''pos1'': v:val.pos1}')