Skip to content

Commit

Permalink
Run gofmt -s -w using official golang docker image
Browse files Browse the repository at this point in the history
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>
(cherry picked from commit 3d78e6a)
  • Loading branch information
bricerisingslalom authored and mattfarina committed Oct 31, 2019
1 parent 857c90b commit fdb0934
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/fsutil/fs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -575,9 +575,9 @@ func TestIsDir(t *testing.T) {
exists bool
err bool
}{
wd: {true, false},
filepath.Join(wd, "testdata"): {true, false},
filepath.Join(wd, "main.go"): {false, true},
wd: {true, false},
filepath.Join(wd, "testdata"): {true, false},
filepath.Join(wd, "main.go"): {false, true},
filepath.Join(wd, "this_file_does_not_exist.thing"): {false, true},
dn: {false, true},
}
Expand Down

0 comments on commit fdb0934

Please sign in to comment.