updated rust handler test case

This commit is contained in:
Kent Sibilev 2018-01-28 18:35:46 -05:00
parent ea60fcea39
commit 863fb60695
1 changed files with 12 additions and 12 deletions

View File

@ -7,16 +7,16 @@ Execute(The Rust handler should handle rustc output):
\ 'lnum': 15, \ 'lnum': 15,
\ 'end_lnum': 15, \ 'end_lnum': 15,
\ 'type': 'E', \ 'type': 'E',
\ 'col': 418, \ 'col': 5,
\ 'end_col': 421, \ 'end_col': 8,
\ 'text': 'expected one of `.`, `;`, `?`, `}`, or an operator, found `for`', \ 'text': 'expected one of `.`, `;`, `?`, `}`, or an operator, found `for`',
\ }, \ },
\ { \ {
\ 'lnum': 13, \ 'lnum': 13,
\ 'end_lnum': 13, \ 'end_lnum': 13,
\ 'type': 'E', \ 'type': 'E',
\ 'col': 407, \ 'col': 7,
\ 'end_col': 410, \ 'end_col': 10,
\ 'text': 'no method named `wat` found for type `std::string::String` in the current scope', \ '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, \ 'lnum': 15,
\ 'end_lnum': 15, \ 'end_lnum': 15,
\ 'type': 'E', \ 'type': 'E',
\ 'col': 11505, \ 'col': 5,
\ 'end_col': 11508, \ 'end_col': 8,
\ 'text': 'expected one of `.`, `;`, `?`, `}`, or an operator, found `for`', \ 'text': 'expected one of `.`, `;`, `?`, `}`, or an operator, found `for`',
\ }, \ },
\ { \ {
\ 'lnum': 13, \ 'lnum': 13,
\ 'end_lnum': 13, \ 'end_lnum': 13,
\ 'type': 'E', \ 'type': 'E',
\ 'col': 11494, \ 'col': 7,
\ 'end_col': 11497, \ 'end_col': 10,
\ 'text': 'no method named `wat` found for type `std::string::String` in the current scope', \ '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, \ 'lnum': 4,
\ 'end_lnum': 4, \ 'end_lnum': 4,
\ 'type': 'E', \ 'type': 'E',
\ 'col': 52, \ 'col': 21,
\ 'end_col': 54, \ 'end_col': 23,
\ 'text': 'mismatched types: expected bool, found integral variable', \ 'text': 'mismatched types: expected bool, found integral variable',
\ }, \ },
\ ], \ ],
@ -207,8 +207,8 @@ Execute(The Rust handler should show detailed errors):
\ 'lnum': 4, \ 'lnum': 4,
\ 'end_lnum': 4, \ 'end_lnum': 4,
\ 'type': 'E', \ 'type': 'E',
\ 'col': 52, \ 'col': 21,
\ 'end_col': 54, \ 'end_col': 23,
\ 'text': 'mismatched types: expected bool, found integral variable', \ 'text': 'mismatched types: expected bool, found integral variable',
\ }, \ },
\ ], \ ],