From bf0b2cfd8417b9b9eeb13bd8e4b7c551320e0086 Mon Sep 17 00:00:00 2001 From: Alexandr Date: Sat, 6 May 2017 12:08:34 +0300 Subject: go build: skip not current buffer (#531) * go build: skip not current buffer * fix gobuild_handler.vader --- 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 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', \ ]) -- cgit v1.2.3