diff --git a/utils/cliutils/utils_test.go b/utils/cliutils/utils_test.go index 43ce3f203..e67ec46c7 100644 --- a/utils/cliutils/utils_test.go +++ b/utils/cliutils/utils_test.go @@ -202,7 +202,7 @@ func TestExtractBoolFlagFromArgs(t *testing.T) { name: "Flag present multiple times", args: []string{"somecmd", "--flagName", "--flagName=false", "otherarg"}, flagName: "flagName", - expectedValue: false, + expectedValue: true, expectedErr: false, expectedArgs: []string{"somecmd", "--flagName=false", "otherarg"}, },