summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKent Sibilev <ksibilev@gmail.com>2018-01-28 18:35:46 -0500
committerKent Sibilev <ksibilev@gmail.com>2018-01-28 18:35:46 -0500
commit863fb60695764a41a6fd8139544938f343f61278 (patch)
tree4741e079f81b4c7d92e9d1bee8ef3331d9e7fee7 /test
parentea60fcea393da1b84dfd62ac1ff10dba6d2dccd2 (diff)
downloadale-863fb60695764a41a6fd8139544938f343f61278.zip
updated rust handler test case
Diffstat (limited to 'test')
-rw-r--r--test/handler/test_rust_handler.vader24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/handler/test_rust_handler.vader b/test/handler/test_rust_handler.vader
index 05bd1e94..e3ab3e86 100644
--- a/test/handler/test_rust_handler.vader
+++ b/test/handler/test_rust_handler.vader
@@ -7,16 +7,16 @@ Execute(The Rust handler should handle rustc output):
\ 'lnum': 15,
\ 'end_lnum': 15,
\ 'type': 'E',
- \ 'col': 418,
- \ 'end_col': 421,
+ \ 'col': 5,
+ \ 'end_col': 8,
\ 'text': 'expected one of `.`, `;`, `?`, `}`, or an operator, found `for`',
\ },
\ {
\ 'lnum': 13,
\ 'end_lnum': 13,
\ 'type': 'E',
- \ 'col': 407,
- \ 'end_col': 410,
+ \ 'col': 7,
+ \ 'end_col': 10,
\ 'text': 'no method named `wat` found for type `std::string::String` in the current scope',
\ },
\ ],
@@ -83,16 +83,16 @@ Execute(The Rust handler should handle cargo output):
\ 'lnum': 15,
\ 'end_lnum': 15,
\ 'type': 'E',
- \ 'col': 11505,
- \ 'end_col': 11508,
+ \ 'col': 5,
+ \ 'end_col': 8,
\ 'text': 'expected one of `.`, `;`, `?`, `}`, or an operator, found `for`',
\ },
\ {
\ 'lnum': 13,
\ 'end_lnum': 13,
\ 'type': 'E',
- \ 'col': 11494,
- \ 'end_col': 11497,
+ \ 'col': 7,
+ \ 'end_col': 10,
\ 'text': 'no method named `wat` found for type `std::string::String` in the current scope',
\ },
\ ],
@@ -157,8 +157,8 @@ Execute(The Rust handler should should errors from expansion spans):
\ 'lnum': 4,
\ 'end_lnum': 4,
\ 'type': 'E',
- \ 'col': 52,
- \ 'end_col': 54,
+ \ 'col': 21,
+ \ 'end_col': 23,
\ 'text': 'mismatched types: expected bool, found integral variable',
\ },
\ ],
@@ -207,8 +207,8 @@ Execute(The Rust handler should show detailed errors):
\ 'lnum': 4,
\ 'end_lnum': 4,
\ 'type': 'E',
- \ 'col': 52,
- \ 'end_col': 54,
+ \ 'col': 21,
+ \ 'end_col': 23,
\ 'text': 'mismatched types: expected bool, found integral variable',
\ },
\ ],