summaryrefslogtreecommitdiff
path: root/test/handler
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-03-20 20:17:43 +0000
committerGitHub <noreply@github.com>2018-03-20 20:17:43 +0000
commit57a93cbc04de402686494d47bd4147c827383086 (patch)
tree31363ece819ed2530900cc5466253eb1660ed6d9 /test/handler
parent43e8f47e6e8c4fd3cc7ea161120c320b85813efd (diff)
parent6452c5e2f0aded3044a4263189f5b46c37409981 (diff)
downloadale-57a93cbc04de402686494d47bd4147c827383086.zip
Merge pull request #1433 from benpaxton-hf/lint-whole-package
Lint whole package for gosimple and gotype
Diffstat (limited to 'test/handler')
-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',
\ ])