diff --git a/pkg/common/cartesian_test.go b/pkg/common/cartesian_test.go index a2add69..0d9332d 100644 --- a/pkg/common/cartesian_test.go +++ b/pkg/common/cartesian_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" ) -func TestCartisianProduct(t *testing.T) { +func TestCartesianProduct(t *testing.T) { assert := assert.New(t) input := map[string][]interface{}{ "foo": {1, 2, 3, 4}, diff --git a/pkg/container/docker_run.go b/pkg/container/docker_run.go index 69731bf..09e3cf4 100644 --- a/pkg/container/docker_run.go +++ b/pkg/container/docker_run.go @@ -422,7 +422,7 @@ func (cr *containerReference) copyDir(dstPath string, srcPath string) common.Exe return err } - // manually close here after each file operation; defering would cause each file close + // manually close here after each file operation; deferring would cause each file close // to wait until all operations have completed. f.Close() diff --git a/pkg/runner/expression.go b/pkg/runner/expression.go index 26c531e..30192b7 100644 --- a/pkg/runner/expression.go +++ b/pkg/runner/expression.go @@ -183,7 +183,7 @@ func vmToJSON(vm *otto.Otto) { toJSON := func(o interface{}) string { rtn, err := json.MarshalIndent(o, "", " ") if err != nil { - logrus.Errorf("Unable to marsal: %v", err) + logrus.Errorf("Unable to marshal: %v", err) return "" } return string(rtn)