summaryrefslogtreecommitdiff
path: root/test/test_eslint_handler.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-03-06 23:32:48 +0000
committerw0rp <devw0rp@gmail.com>2017-03-06 23:32:48 +0000
commit663d8f832fb2d59751722dc9f22f5c44dcc84b31 (patch)
tree592f1cf1bf2c8fa67dada4d4062045d9db1f30ab /test/test_eslint_handler.vader
parent75a2dc5ff5f1975b1a80b59704ffdfd1902b050f (diff)
downloadale-663d8f832fb2d59751722dc9f22f5c44dcc84b31.zip
Group handler test cases in a directory
Diffstat (limited to 'test/test_eslint_handler.vader')
-rw-r--r--test/test_eslint_handler.vader37
1 files changed, 0 insertions, 37 deletions
diff --git a/test/test_eslint_handler.vader b/test/test_eslint_handler.vader
deleted file mode 100644
index 692d8b30..00000000
--- a/test/test_eslint_handler.vader
+++ /dev/null
@@ -1,37 +0,0 @@
-Execute(The eslint handler should parse lines correctly):
- runtime ale_linters/javascript/eslint.vim
-
- AssertEqual
- \ [
- \ {
- \ 'bufnr': 347,
- \ 'lnum': 47,
- \ 'col': 14,
- \ 'text': 'Missing trailing comma. [Warning/comma-dangle]',
- \ 'type': 'W',
- \ },
- \ {
- \ 'bufnr': 347,
- \ 'lnum': 56,
- \ 'col': 41,
- \ 'text': 'Missing semicolon. [Error/semi]',
- \ 'type': 'E',
- \ },
- \ {
- \ 'bufnr': 347,
- \ 'lnum': 13,
- \ 'col': 3,
- \ 'text': 'Parsing error: Unexpected token',
- \ 'type': 'E',
- \ },
- \ ],
- \ ale_linters#javascript#eslint#Handle(347, [
- \ 'This line should be ignored completely',
- \ '/path/to/some-filename.js:47:14: Missing trailing comma. [Warning/comma-dangle]',
- \ '/path/to/some-filename.js:56:41: Missing semicolon. [Error/semi]',
- \ 'This line should be ignored completely',
- \ '/path/to/some-filename.js:13:3: Parsing error: Unexpected token',
- \ ])
-
-After:
- call ale#linter#Reset()