summaryrefslogtreecommitdiff
path: root/test/handler
diff options
context:
space:
mode:
authorJon Gjengset <jon@thesquareplanet.com>2017-05-31 08:17:04 -0400
committerw0rp <w0rp@users.noreply.github.com>2017-05-31 13:17:04 +0100
commit5eb80f03a2d0831a1fc3b06790f634d7f2b09658 (patch)
tree7278e43b1cf7c4d0a64f26c266796d24c0fad4c9 /test/handler
parentab50b3a88a741ac86315ae3e716815c6725b159b (diff)
downloadale-5eb80f03a2d0831a1fc3b06790f634d7f2b09658.zip
Include location list end column for rust lint (#602)
* Include location list end column for rust lint Fixes #599. * Include rust lint end_lnum for good measure * Reverse engineer end_* for rust lint tests
Diffstat (limited to 'test/handler')
-rw-r--r--test/handler/test_rust_handler.vader8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/handler/test_rust_handler.vader b/test/handler/test_rust_handler.vader
index b7c8f9c6..38228f38 100644
--- a/test/handler/test_rust_handler.vader
+++ b/test/handler/test_rust_handler.vader
@@ -3,14 +3,18 @@ Execute(The Rust handler should handle rustc output):
\ [
\ {
\ 'lnum': 15,
+ \ 'end_lnum': 15,
\ 'type': 'E',
\ 'col': 418,
+ \ 'end_col': 421,
\ 'text': 'expected one of `.`, `;`, `?`, `}`, or an operator, found `for`',
\ },
\ {
\ 'lnum': 13,
+ \ 'end_lnum': 13,
\ 'type': 'E',
\ 'col': 407,
+ \ 'end_col': 410,
\ 'text': 'no method named `wat` found for type `std::string::String` in the current scope',
\ },
\ ],
@@ -28,14 +32,18 @@ Execute(The Rust handler should handle cargo output):
\ [
\ {
\ 'lnum': 15,
+ \ 'end_lnum': 15,
\ 'type': 'E',
\ 'col': 11505,
+ \ 'end_col': 11508,
\ 'text': 'expected one of `.`, `;`, `?`, `}`, or an operator, found `for`',
\ },
\ {
\ 'lnum': 13,
+ \ 'end_lnum': 13,
\ 'type': 'E',
\ 'col': 11494,
+ \ 'end_col': 11497,
\ 'text': 'no method named `wat` found for type `std::string::String` in the current scope',
\ },
\ ],