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

@ -74,7 +74,7 @@ func configGenerate(cmd *cobra.Command, fileHandler file.Handler, provider cloud
}
cmd.Println("Config file written to", flags.file)
cmd.Println("Please fill in your CSP-specific configuration before proceeding.")
cmd.Println("Fore more information refer to the documentation:")
cmd.Println("For more information refer to the documentation:")
cmd.Println("\thttps://docs.edgeless.systems/constellation/getting-started/first-steps")
return nil

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)