summaryrefslogtreecommitdiff
path: root/test/test_typecheck_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_typecheck_handler.vader
parent75a2dc5ff5f1975b1a80b59704ffdfd1902b050f (diff)
downloadale-663d8f832fb2d59751722dc9f22f5c44dcc84b31.zip
Group handler test cases in a directory
Diffstat (limited to 'test/test_typecheck_handler.vader')
-rw-r--r--test/test_typecheck_handler.vader27
1 files changed, 0 insertions, 27 deletions
diff --git a/test/test_typecheck_handler.vader b/test/test_typecheck_handler.vader
deleted file mode 100644
index e42bcaf3..00000000
--- a/test/test_typecheck_handler.vader
+++ /dev/null
@@ -1,27 +0,0 @@
-Execute(The typecheck handler should parse lines correctly):
- runtime ale_linters/typescript/typecheck.vim
-
- AssertEqual
- \ [
- \ {
- \ 'bufnr': 347,
- \ 'lnum': 16,
- \ 'col': 7,
- \ 'text': "Type 'A' is not assignable to type 'B'",
- \ 'type': 'E',
- \ },
- \ {
- \ 'bufnr': 347,
- \ 'lnum': 7,
- \ 'col': 41,
- \ 'text': "Property 'a' does not exist on type 'A'",
- \ 'type': 'E',
- \ },
- \ ],
- \ ale_linters#typescript#typecheck#Handle(347, [
- \ "somets.ts[16, 7]: Type 'A' is not assignable to type 'B'",
- \ "somets.ts[7, 41]: Property 'a' does not exist on type 'A'",
- \ ])
-
-After:
- call ale#linter#Reset()