diff --git a/pkg/snapshot/snapshot_test.go b/pkg/snapshot/snapshot_test.go index d99e1e19a..4cf698c52 100644 --- a/pkg/snapshot/snapshot_test.go +++ b/pkg/snapshot/snapshot_test.go @@ -322,7 +322,7 @@ func TestSnasphotPreservesFileOrder(t *testing.T) { filesInTars := [][]string{} - for i := 0; i<= 2; i++ { + for i := 0; i <= 2; i++ { testDir, snapshotter, cleanup, err := setUpTest() testDirWithoutLeadingSlash := strings.TrimLeft(testDir, "/") defer cleanup() @@ -366,7 +366,7 @@ func TestSnasphotPreservesFileOrder(t *testing.T) { } // Check contents of all snapshots, make sure files appear in consistent order - for i := 1; i