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/5038/head
Brice Rising 7 years ago
parent a07cdbb56e
commit cd0abc9750

@ -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