Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Aceralon committed Nov 4, 2023
1 parent 6bde692 commit a9ec126
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions kustomize/commands/edit/fix/convert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,11 @@ spec:

fSys := filesys.MakeFsInMemory()
testutils_test.WriteTestKustomizationWith(fSys, kustomization)
fSys.WriteFile("pod.yaml", pod)
fSys.WriteFile("patch.yaml", patch)
cmd := NewCmdFix(fSys, os.Stdout)
err := fSys.WriteFile("pod.yaml", pod)
assert.NoError(t, err)
err = fSys.WriteFile("patch.yaml", patch)
assert.NoError(t, err)
var cmd = NewCmdFix(fSys, os.Stdout)
assert.NoError(t, cmd.Flags().Set("vars", "true"))
assert.NoError(t, cmd.RunE(cmd, nil))
content, err := testutils_test.ReadTestKustomization(fSys)
Expand Down

0 comments on commit a9ec126

Please sign in to comment.