diff options
author | w0rp <devw0rp@gmail.com> | 2017-04-18 00:35:53 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-04-18 00:35:53 +0100 |
commit | bdad25eefd6526f8130f97edbe25a1179e27aadc (patch) | |
tree | c2e563e959121e77f6d96a256583849f6851f0a4 /test/handler/test_shell_handler.vader | |
parent | e237add9fdec64c80ed57f383e2b73464fb4b43d (diff) | |
download | ale-bdad25eefd6526f8130f97edbe25a1179e27aadc.zip |
Add a function for getting matches, and use it to simplify a lot of code
Diffstat (limited to 'test/handler/test_shell_handler.vader')
-rw-r--r-- | test/handler/test_shell_handler.vader | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/handler/test_shell_handler.vader b/test/handler/test_shell_handler.vader index 12506821..ecfbf02b 100644 --- a/test/handler/test_shell_handler.vader +++ b/test/handler/test_shell_handler.vader @@ -7,40 +7,28 @@ Execute(The shell handler should parse lines correctly): AssertEqual \ [ \ { - \ 'bufnr': 347, \ 'lnum': 13, \ 'text': 'syntax error near unexpected token d', - \ 'type': 'E', \ }, \ { - \ 'bufnr': 347, \ 'lnum': 7, \ 'text': 'line 42: line 36:', - \ 'type': 'E', \ }, \ { - \ 'bufnr': 347, \ 'lnum': 11, \ 'text': 'Syntax error: "(" unexpected', - \ 'type': 'E', \ }, \ { - \ 'bufnr': 347, \ 'lnum': 95, \ 'text': 'parse error near `out=$(( $1 / 1024. )...', - \ 'type': 'E', \ }, \ { - \ 'bufnr': 347, \ 'lnum': 22, \ 'text': ':11: :33: :44:', - \ 'type': 'E', \ }, \ { - \ 'bufnr': 347, \ 'lnum': 9, \ 'text': '`done'' unexpected', - \ 'type': 'E', \ }, \ ], \ ale_linters#sh#shell#Handle(347, [ |