diff options
author | w0rp <devw0rp@gmail.com> | 2016-10-20 18:07:45 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2016-10-20 18:07:55 +0100 |
commit | 7a06d276c255827df5c7c397e4871e5e887dcb39 (patch) | |
tree | 034b3fadbaaf59fe590d40e5c1b570845aeb02e8 /test/test_linting_updates_loclist.vader | |
parent | a34fb0a6a7f920cd4d9a3e50facf51f8d5defea2 (diff) | |
download | ale-7a06d276c255827df5c7c397e4871e5e887dcb39.zip |
#131 Keep the error types in the message for eslint
Diffstat (limited to 'test/test_linting_updates_loclist.vader')
-rw-r--r-- | test/test_linting_updates_loclist.vader | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_linting_updates_loclist.vader b/test/test_linting_updates_loclist.vader index 9c39c30c..920a4e46 100644 --- a/test/test_linting_updates_loclist.vader +++ b/test/test_linting_updates_loclist.vader @@ -4,7 +4,7 @@ Given javascript (Some JavaScript with problems): Before: let g:ale_buffer_loclist_map = {} - let g:expected_data = {bufnr('%'): [{'lnum': 1, 'bufnr': bufnr('%'), 'vcol': 0, 'linter_name': 'eslint', 'nr': -1, 'type': 'W', 'col': 10, 'text': 'Infix operators must be spaced. (space-infix-ops)'}, {'lnum': 2, 'bufnr': bufnr('%'), 'vcol': 0, 'linter_name': 'eslint', 'nr': -1, 'type': 'E', 'col': 10, 'text': 'Missing semicolon. (semi)'}]} + let g:expected_data = {bufnr('%'): [{'lnum': 1, 'bufnr': bufnr('%'), 'vcol': 0, 'linter_name': 'eslint', 'nr': -1, 'type': 'W', 'col': 10, 'text': 'Infix operators must be spaced. [Warning/space-infix-ops]'}, {'lnum': 2, 'bufnr': bufnr('%'), 'vcol': 0, 'linter_name': 'eslint', 'nr': -1, 'type': 'E', 'col': 10, 'text': 'Missing semicolon. [Error/semi]'}]} After: let g:ale_buffer_loclist_map = {} |