summaryrefslogtreecommitdiff
path: root/test/sign/test_linting_sets_signs.vader
diff options
context:
space:
mode:
authorGerry Agbobada <10496163+gagbo@users.noreply.github.com>2017-10-25 23:29:36 +0200
committerw0rp <w0rp@users.noreply.github.com>2017-10-25 22:29:36 +0100
commit25d2af0b2529006ba869a5906afae028f7b9f28e (patch)
tree67cc89b1564279e16a1e0336ba9d56a59ab3ddd8 /test/sign/test_linting_sets_signs.vader
parent960ae62aaa30d26fcfff57d6593e54a34a93ec68 (diff)
downloadale-25d2af0b2529006ba869a5906afae028f7b9f28e.zip
Handle multiple files localtion lists with gcc handler (#1034)
Handle multiple files in the GCC handler.
Diffstat (limited to 'test/sign/test_linting_sets_signs.vader')
-rw-r--r--test/sign/test_linting_sets_signs.vader3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/sign/test_linting_sets_signs.vader b/test/sign/test_linting_sets_signs.vader
index f9bd63b0..271540e2 100644
--- a/test/sign/test_linting_sets_signs.vader
+++ b/test/sign/test_linting_sets_signs.vader
@@ -20,7 +20,8 @@ Before:
let l:actual_sign_list = []
for l:line in split(l:output, "\n")
- let l:match = matchlist(l:line, 'line=\(\d\+\).*name=\(ALE[a-zA-Z]\+\)')
+ let l:match = matchlist(l:line, '\m\s*line=\(\d\+\).*name=\(ALE[a-zA-Z]\+\)')
+
if len(l:match) > 0
call add(l:actual_sign_list, [l:match[1], l:match[2]])