Fix typos

This commit is contained in:
Nils Hanke 2022-10-31 16:39:56 +01:00 committed by Nils Hanke
parent e363f03240
commit c922136cd4
2 changed files with 4 additions and 4 deletions

View file

@ -44,7 +44,7 @@ func TestCreate(t *testing.T) {
nameFlag string
stdin string
wantErr bool
wantAbbort bool
wantAbort bool
}{
"create": {
setupFs: fsWithDefaultConfig,
@ -69,7 +69,7 @@ func TestCreate(t *testing.T) {
controllerCountFlag: intPtr(1),
workerCountFlag: intPtr(1),
stdin: "no\n",
wantAbbort: true,
wantAbort: true,
},
"interactive error": {
setupFs: fsWithDefaultConfig,
@ -218,7 +218,7 @@ func TestCreate(t *testing.T) {
assert.Error(err)
} else {
assert.NoError(err)
if tc.wantAbbort {
if tc.wantAbort {
assert.False(tc.creator.createCalled)
} else {
assert.True(tc.creator.createCalled)