summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-26 23:31:43 +0100
committerw0rp <devw0rp@gmail.com>2017-04-26 23:32:20 +0100
commitb25dbd6ea5725591b32f6b4379dd4993b454e523 (patch)
tree0871857934c337bb69e917a7d5199cf7e24633df /test
parentce2f777e33f25c01830a0e62cc3ae23a8ba80953 (diff)
downloadale-b25dbd6ea5725591b32f6b4379dd4993b454e523.zip
Fix #506 - Don't set signs for buffers which don't exist
Diffstat (limited to 'test')
-rw-r--r--test/sign/test_sign_placement.vader3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sign/test_sign_placement.vader b/test/sign/test_sign_placement.vader
index 396ef5c4..518e1b81 100644
--- a/test/sign/test_sign_placement.vader
+++ b/test/sign/test_sign_placement.vader
@@ -132,3 +132,6 @@ Execute(Loclist items with sign_id values should be kept):
\ ['16', '1000004', 'ALEErrorSign'],
\ ],
\ ParseSigns()
+
+Execute(No excpetions should be thrown when setting signs for invalid buffers):
+ call ale#sign#SetSigns(123456789, [{'lnum': 15, 'col': 2, 'type': 'W', 'text': 'e'}])