* spelling: cartesian

* spelling: deferring

* spelling: marshal
This commit is contained in:
Josh Soref
2020-05-18 12:53:42 -04:00
committed by GitHub
parent 2f3187ebcd
commit 2097a3c017
3 changed files with 3 additions and 3 deletions

View File

@@ -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},

View File

@@ -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()

View File

@@ -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)