diff --git a/.builds/linux.yml b/.builds/linux.yml index e0a5af23..e5502d4a 100644 --- a/.builds/linux.yml +++ b/.builds/linux.yml @@ -39,4 +39,4 @@ tasks: go test -race ./... - check_gofmt: | cd gio - test -z $(gofmt -s -l .) + test -z "$(gofmt -s -l .)" diff --git a/cmd/gogio/wayland_test.go b/cmd/gogio/wayland_test.go index 5294d07d..6e71821c 100644 --- a/cmd/gogio/wayland_test.go +++ b/cmd/gogio/wayland_test.go @@ -72,7 +72,7 @@ func (d *WaylandTestDriver) Start(t_ *testing.T, path string, width, height int) cleanups = append(cleanups, func() { os.RemoveAll(dir) }) bin := filepath.Join(dir, "red") - flags := []string{"build", "-tags", "nox11", "-o="+bin} + flags := []string{"build", "-tags", "nox11", "-o=" + bin} if raceEnabled { flags = append(flags, "-race") } diff --git a/cmd/gogio/x11_test.go b/cmd/gogio/x11_test.go index 88b965fd..008c496c 100644 --- a/cmd/gogio/x11_test.go +++ b/cmd/gogio/x11_test.go @@ -69,7 +69,7 @@ func (d *X11TestDriver) Start(t_ *testing.T, path string, width, height int) (cl cleanups = append(cleanups, func() { os.RemoveAll(dir) }) bin := filepath.Join(dir, "red") - flags := []string{"build", "-tags", "nowayland", "-o="+bin} + flags := []string{"build", "-tags", "nowayland", "-o=" + bin} if raceEnabled { flags = append(flags, "-race") }