mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-03 14:54:53 -04:00
Fix typos
This commit is contained in:
parent
e363f03240
commit
c922136cd4
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue