summaryrefslogtreecommitdiff
path: root/test
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
parent0cb3e3655419e80226e3738f94d514836a382b87 (diff)
downloadale-6452c5e2f0aded3044a4263189f5b46c37409981.zip
Use govet handler for gosimple, gotype, staticcheck
Diffstat (limited to 'test')
-rw-r--r--test/handler/test_go_generic_handler.vader (renamed from test/handler/test_govet_handler.vader)10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/handler/test_govet_handler.vader b/test/handler/test_go_generic_handler.vader
index b4bfdc93..624e56c1 100644
--- a/test/handler/test_govet_handler.vader
+++ b/test/handler/test_go_generic_handler.vader
@@ -1,10 +1,4 @@
-Before:
- runtime ale_linters/go/govet.vim
-
-After:
- call ale#linter#Reset()
-
-Execute(The govet handler should return the correct filenames):
+Execute(The golang handler should return the correct filenames):
AssertEqual
\ [
\ {
@@ -22,7 +16,7 @@ Execute(The govet handler should return the correct filenames):
\ 'filename': ale#path#Simplify(expand('%:p:h') . '/other.go'),
\ },
\ ],
- \ ale_linters#go#govet#Handler(bufnr(''), [
+ \ ale#handlers#go#Handler(bufnr(''), [
\ 'test.go:27: some error',
\ 'other.go:27:5: some error with a column',
\ ])