From 3ecdb52e6c8a0c36580814edddbb8bbd25df426b Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 6 May 2017 10:10:24 +0100 Subject: Make the gobuild tests work better when running them directly --- test/handler/test_gobuild_handler.vader | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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', \ ]) -- cgit v1.2.3