From 26498cb306162df3fc1b01761485bbd396093a02 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Thu, 6 Mar 2025 13:29:07 +0100 Subject: [PATCH] - --- cmd/root/bundle_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/root/bundle_test.go b/cmd/root/bundle_test.go index ca60d3c4c..30c7c3933 100644 --- a/cmd/root/bundle_test.go +++ b/cmd/root/bundle_test.go @@ -212,7 +212,7 @@ func TestTargetFlagFull(t *testing.T) { cmd.SetArgs([]string{"version", "--target", "development"}) ctx := context.Background() - err := root.Execute(ctx, cmd) + err := Execute(ctx, cmd) assert.NoError(t, err) assert.Equal(t, "development", getTarget(cmd)) @@ -224,7 +224,7 @@ func TestTargetFlagShort(t *testing.T) { cmd.SetArgs([]string{"version", "-t", "production"}) ctx := context.Background() - err := root.Execute(ctx, cmd) + err := Execute(ctx, cmd) assert.NoError(t, err) assert.Equal(t, "production", getTarget(cmd)) @@ -238,7 +238,7 @@ func TestTargetEnvironmentFlag(t *testing.T) { cmd.SetArgs([]string{"version", "--environment", "development"}) ctx := context.Background() - err := root.Execute(ctx, cmd) + err := Execute(ctx, cmd) assert.NoError(t, err) assert.Equal(t, "development", getTarget(cmd))