diff --git a/test/e2e/case39_diff_generation_test.go b/test/e2e/case39_diff_generation_test.go index c929003a..ef702933 100644 --- a/test/e2e/case39_diff_generation_test.go +++ b/test/e2e/case39_diff_generation_test.go @@ -82,7 +82,8 @@ var _ = Describe("Generate the diff", Ordered, func() { Expect(diff).Should(ContainSubstring(`Logging the diff: --- default/case39-map : existing +++ default/case39-map : updated -@@ -2,3 +2,3 @@ +@@ -1,8 +1,8 @@ + apiVersion: v1 data: - fieldToUpdate: "1" + fieldToUpdate: "2" diff --git a/test/utils/utils.go b/test/utils/utils.go index bfbf22fe..c48a8f64 100644 --- a/test/utils/utils.go +++ b/test/utils/utils.go @@ -159,7 +159,7 @@ func Kubectl(args ...string) { output, err := cmd.CombinedOutput() if err != nil { // in case of failure, print command output (including error) - Fail(fmt.Sprintf("Error running 'kubectl %s'\n: %s: %v", strings.Join(cmd.Args, " "), output, err), 1) + Fail(fmt.Sprintf("Error running '%s'\n: %s: %v", strings.Join(cmd.Args, " "), output, err), 1) } }