@@ -399,7 +399,7 @@ func TestDeploy_Envs(t *testing.T) {
399399 t .Fatalf ("Expected envs '%v', got '%v'" , expected , f .Run .Envs )
400400 }
401401
402- // Deploy the function with an additinal environment variable.
402+ // Deploy the function with an additional environment variable.
403403 cmd = NewDeployCmd (NewTestClient ())
404404 cmd .SetArgs ([]string {"--env=ENV3=VAL3" })
405405 if err = cmd .Execute (); err != nil {
@@ -851,7 +851,7 @@ func TestDeploy_ImageWithDigestErrors(t *testing.T) {
851851// just be deployed as is (since it already has digest)
852852func TestDeploy_ImageWithDigestDoesntPopulateBuild (t * testing.T ) {
853853 root := FromTempDirectory (t )
854- // image with digest (well almost, atleast in length and syntax)
854+ // image with digest (well almost, at least in length and syntax)
855855 const img = "example.com/username@sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
856856 // Create a new Function in the temp directory
857857 _ , err := fn .New ().Init (fn.Function {Runtime : "go" , Root : root })
@@ -1101,7 +1101,7 @@ func TestDeploy_NamespaceDefaultsToK8sContext(t *testing.T) {
11011101 // NOTE: The below logic is expected of all deployers at this time,
11021102 // but is not necessary for this test.
11031103 // Deployer implementations should have integration tests which confirm
1104- // this minimim namespace resolution logic is respected:
1104+ // this minimum namespace resolution logic is respected:
11051105 /*
11061106 if f.Namespace != "" {
11071107 // We deployed to the requested namespace
@@ -1580,7 +1580,7 @@ func testRegistryOrImageRequired(cmdFn commandConstructor, t *testing.T) {
15801580// are properly respected for all permutations, including empty.
15811581func TestDeploy_RemoteBuildURLPermutations (t * testing.T ) {
15821582 // Valid flag permutations (empty indicates flag should be omitted)
1583- // and a functon which will convert a permutation into flags for use
1583+ // and a function which will convert a permutation into flags for use
15841584 // by the subtests.
15851585 // The empty string indicates the case in which the flag is not provided.
15861586 var (
@@ -1957,7 +1957,7 @@ func TestDeploy_NoErrorOnOldFunctionNotFound(t *testing.T) {
19571957 // if it received an apiErrors.IsNotFound(err) and if so returns
19581958 // a fn.ErrFunctionNotFound. This test implementation is dependent
19591959 // on that. This is a change from the original implementation which
1960- // directly returned a knative erorr with:
1960+ // directly returned a knative error with:
19611961 // return apiErrors.NewNotFound(schema.GroupResource{Group: "", Resource: "Namespace"}, nsOne)
19621962 if ns == nsOne {
19631963 // Fabricate a not-found error. For example if the function
0 commit comments