summaryrefslogtreecommitdiff
path: root/test/test_linting_updates_loclist.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-26 16:38:27 +0100
committerw0rp <devw0rp@gmail.com>2017-08-26 16:38:27 +0100
commite13651c16d4f80c9453d6790be78671d2f59a95f (patch)
treec5a26f32f45d4f7c34e04ff102afc4b5c1d02060 /test/test_linting_updates_loclist.vader
parentcdd1ddffdb95151f5cb96fd2549eb9e44f2a2fcb (diff)
downloadale-e13651c16d4f80c9453d6790be78671d2f59a95f.zip
Fix #825 - Downgrade signs when problems change
Diffstat (limited to 'test/test_linting_updates_loclist.vader')
-rw-r--r--test/test_linting_updates_loclist.vader7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_linting_updates_loclist.vader b/test/test_linting_updates_loclist.vader
index 19adfa1f..a1daf28d 100644
--- a/test/test_linting_updates_loclist.vader
+++ b/test/test_linting_updates_loclist.vader
@@ -1,4 +1,7 @@
Before:
+ Save g:ale_set_signs
+ let g:ale_set_signs = 1
+
let g:expected_data = [
\ {
\ 'lnum': 1,
@@ -49,7 +52,11 @@ Before:
\ 'read_buffer': 0,
\})
+ sign unplace *
+
After:
+ Restore
+
delfunction TestCallback
unlet! g:expected_data