Make the gobuild tests work better when running them directly

This commit is contained in:
w0rp 2017-05-06 10:10:24 +01:00
parent bf0b2cfd84
commit 3ecdb52e6c

View File

@ -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',
\ ])