summaryrefslogtreecommitdiff
path: root/test/handler/test_golangci_lint_handler.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/handler/test_golangci_lint_handler.vader')
-rw-r--r--test/handler/test_golangci_lint_handler.vader6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/handler/test_golangci_lint_handler.vader b/test/handler/test_golangci_lint_handler.vader
index 7bb6b877..a08234b5 100644
--- a/test/handler/test_golangci_lint_handler.vader
+++ b/test/handler/test_golangci_lint_handler.vader
@@ -43,8 +43,6 @@ Execute (The golangci-lint handler should handle paths correctly):
Execute (The golangci-lint handler should handle only typecheck lines as errors):
call ale#test#SetFilename('app/main.go')
- let file = ale#path#GetAbsPath(expand('%:p:h'), 'test.go')
-
AssertEqual
\ [
\ {
@@ -63,6 +61,6 @@ Execute (The golangci-lint handler should handle only typecheck lines as errors)
\ }
\ ],
\ ale_linters#go#golangci_lint#Handler(bufnr(''), [
- \ file . ':30:5: variable ''err'' is not used (typecheck)',
- \ file . ':505:75: Magic number: 404, in <argument> detected (gomnd)',
+ \ ale#path#GetAbsPath(expand('%:p:h'), 'test.go') . ':30:5: variable ''err'' is not used (typecheck)',
+ \ ale#path#GetAbsPath(expand('%:p:h'), 'test.go') . ':505:75: Magic number: 404, in <argument> detected (gomnd)',
\ ])