summaryrefslogtreecommitdiff
path: root/test/handler/test_govet_handler.vader
diff options
context:
space:
mode:
authorBen Paxton <ben.paxton@headforwards.com>2018-03-20 14:19:48 +0000
committerBen Paxton <ben.paxton@headforwards.com>2018-03-20 14:19:48 +0000
commit6452c5e2f0aded3044a4263189f5b46c37409981 (patch)
tree31363ece819ed2530900cc5466253eb1660ed6d9 /test/handler/test_govet_handler.vader
parent0cb3e3655419e80226e3738f94d514836a382b87 (diff)
downloadale-6452c5e2f0aded3044a4263189f5b46c37409981.zip
Use govet handler for gosimple, gotype, staticcheck
Diffstat (limited to 'test/handler/test_govet_handler.vader')
-rw-r--r--test/handler/test_govet_handler.vader28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/handler/test_govet_handler.vader b/test/handler/test_govet_handler.vader
deleted file mode 100644
index b4bfdc93..00000000
--- a/test/handler/test_govet_handler.vader
+++ /dev/null
@@ -1,28 +0,0 @@
-Before:
- runtime ale_linters/go/govet.vim
-
-After:
- call ale#linter#Reset()
-
-Execute(The govet handler should return the correct filenames):
- AssertEqual
- \ [
- \ {
- \ 'lnum': 27,
- \ 'col': 0,
- \ 'text': 'some error',
- \ 'type': 'E',
- \ 'filename': ale#path#Simplify(expand('%:p:h') . '/test.go'),
- \ },
- \ {
- \ 'lnum': 27,
- \ 'col': 5,
- \ 'text': 'some error with a column',
- \ 'type': 'E',
- \ 'filename': ale#path#Simplify(expand('%:p:h') . '/other.go'),
- \ },
- \ ],
- \ ale_linters#go#govet#Handler(bufnr(''), [
- \ 'test.go:27: some error',
- \ 'other.go:27:5: some error with a column',
- \ ])