summaryrefslogtreecommitdiff
path: root/test/handler
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-05-06 10:10:24 +0100
committerw0rp <devw0rp@gmail.com>2017-05-06 10:10:24 +0100
commit3ecdb52e6c8a0c36580814edddbb8bbd25df426b (patch)
tree9316fc8db141eb36e30d59454e0586b8bbe744d3 /test/handler
parentbf0b2cfd8417b9b9eeb13bd8e4b7c551320e0086 (diff)
downloadale-3ecdb52e6c8a0c36580814edddbb8bbd25df426b.zip
Make the gobuild tests work better when running them directly
Diffstat (limited to 'test/handler')
-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 54d7ece3..ce2119cd 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):
- :e! /foo/bar/baz.go
+ silent file! /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(bufnr('$'), [
+ \ ale_linters#go#gobuild#Handler(bufnr(''), [
\ 'baz.go:27: missing argument for Printf("%s"): format reads arg 2, have only 1 args',
\ ])