summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexandr <k33nice@gmail.com>2017-05-06 12:08:34 +0300
committerw0rp <w0rp@users.noreply.github.com>2017-05-06 10:08:34 +0100
commitbf0b2cfd8417b9b9eeb13bd8e4b7c551320e0086 (patch)
tree2169294f6d2edbd65e668561e613319d9850595d /test
parentab9afaa2bf446ed9db32f5ab43081e7f28cc1358 (diff)
downloadale-bf0b2cfd8417b9b9eeb13bd8e4b7c551320e0086.zip
go build: skip not current buffer (#531)
* go build: skip not current buffer * fix gobuild_handler.vader
Diffstat (limited to 'test')
-rw-r--r--test/handler/test_gobuild_handler.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/handler/test_gobuild_handler.vader b/test/handler/test_gobuild_handler.vader
index 7748dcc7..54d7ece3 100644
--- a/test/handler/test_gobuild_handler.vader
+++ b/test/handler/test_gobuild_handler.vader
@@ -28,7 +28,7 @@ Execute (The gobuild handler should handle names with spaces):
\ ]), 'v:val[1:4]')
Execute (The gobuild handler should handle relative paths correctly):
- :file! /foo/bar/baz.go
+ :e! /foo/bar/baz.go
AssertEqual
\ [
@@ -39,6 +39,6 @@ Execute (The gobuild handler should handle relative paths correctly):
\ 'type': 'E',
\ },
\ ],
- \ ale_linters#go#gobuild#Handler(42, [
+ \ ale_linters#go#gobuild#Handler(bufnr('$'), [
\ 'baz.go:27: missing argument for Printf("%s"): format reads arg 2, have only 1 args',
\ ])