Skip to content

Commit 72658b0

Browse files
committed
fix(test) adapt cli args after changing arg slicing
1 parent b1d9bfe commit 72658b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/root_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func TestBeautifyUnknownAndMissingCommandsError(t *testing.T) {
5858
setupCmd()
5959
for _, tt := range tests {
6060
t.Run(tt.description, func(t *testing.T) {
61-
actualError := beautifyUnknownAndMissingCommandsError(cmd, tt.inputError, []string{"stackit", "--something"})
61+
actualError := beautifyUnknownAndMissingCommandsError(cmd, tt.inputError, []string{"--something"})
6262

6363
if tt.isNotUnknownFlagError {
6464
if actualError.Error() != tt.expectedMsg {

0 commit comments

Comments
 (0)