diff options
author | w0rp <devw0rp@gmail.com> | 2017-08-13 16:04:09 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-08-13 16:04:17 +0100 |
commit | ea124c49d015743d2437f5c500c1d05229a4d677 (patch) | |
tree | 94bf1ace82787d23780d225188d281dbd77cd264 | |
parent | a5d7bb449b593db4e383017057849ee8c853de12 (diff) | |
download | ale-ea124c49d015743d2437f5c500c1d05229a4d677.zip |
Cover filtering out items from other buffers for highlights
-rw-r--r-- | test/test_highlight_placement.vader | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_highlight_placement.vader b/test/test_highlight_placement.vader index 02f570b9..c1909c4f 100644 --- a/test/test_highlight_placement.vader +++ b/test/test_highlight_placement.vader @@ -162,6 +162,7 @@ Execute(Higlight end columns should set an appropriate size): Execute(Higlight end columns should set an appropriate size): call ale#highlight#SetHighlights(bufnr('%'), [ + \ {'bufnr': bufnr('%') - 1, 'type': 'E', 'lnum': 1, 'col': 1}, \ {'bufnr': bufnr('%'), 'type': 'E', 'lnum': 1, 'col': 1}, \ {'bufnr': bufnr('%'), 'type': 'E', 'lnum': 2, 'col': 1}, \ {'bufnr': bufnr('%'), 'type': 'E', 'sub_type': 'style', 'lnum': 3, 'col': 1}, @@ -169,6 +170,7 @@ Execute(Higlight end columns should set an appropriate size): \ {'bufnr': bufnr('%'), 'type': 'W', 'lnum': 5, 'col': 1}, \ {'bufnr': bufnr('%'), 'type': 'W', 'sub_type': 'style', 'lnum': 6, 'col': 1}, \ {'bufnr': bufnr('%'), 'type': 'I', 'lnum': 7, 'col': 1}, + \ {'bufnr': bufnr('%') + 1, 'type': 'E', 'lnum': 1, 'col': 1}, \]) AssertEqual |