test: fix quota command autocomplete (#16917)
This commit is contained in:
parent
9e8f2a937c
commit
8285be09e6
|
@ -98,7 +98,7 @@ func TestQuotaInspectCommand_AutocompleteArgs(t *testing.T) {
|
||||||
_, err := client.Quotas().Register(qs, nil)
|
_, err := client.Quotas().Register(qs, nil)
|
||||||
must.NoError(t, err)
|
must.NoError(t, err)
|
||||||
|
|
||||||
args := complete.Args{Last: "t"}
|
args := complete.Args{Last: "q"}
|
||||||
predictor := cmd.AutocompleteArgs()
|
predictor := cmd.AutocompleteArgs()
|
||||||
|
|
||||||
res := predictor.Predict(args)
|
res := predictor.Predict(args)
|
||||||
|
|
Loading…
Reference in New Issue