Run gofmt -s -w using official golang docker image

For some reason, gofmt -s -w produced a different result than running gofmt on my host os

Signed-off-by: Brice Rising <brice.rising@slalom.com>
pull/6738/head
Brice Rising 7 years ago committed by Yagnesh Mistry
parent c292ba5c8f
commit 3d78e6a1b2

@ -575,9 +575,9 @@ func TestIsDir(t *testing.T) {
exists bool exists bool
err bool err bool
}{ }{
wd: {true, false}, wd: {true, false},
filepath.Join(wd, "testdata"): {true, false}, filepath.Join(wd, "testdata"): {true, false},
filepath.Join(wd, "main.go"): {false, true}, filepath.Join(wd, "main.go"): {false, true},
filepath.Join(wd, "this_file_does_not_exist.thing"): {false, true}, filepath.Join(wd, "this_file_does_not_exist.thing"): {false, true},
dn: {false, true}, dn: {false, true},
} }

Loading…
Cancel
Save