test: fix quota command autocomplete (#16917)

This commit is contained in:
Luiz Aoqui 2023-04-17 20:08:55 -04:00 committed by GitHub
parent 9e8f2a937c
commit 8285be09e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)