* 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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )
func TestCartisianProduct(t *testing.T) { func TestCartesianProduct(t *testing.T) {
assert := assert.New(t) assert := assert.New(t)
input := map[string][]interface{}{ input := map[string][]interface{}{
"foo": {1, 2, 3, 4}, "foo": {1, 2, 3, 4},

View file

@ -422,7 +422,7 @@ func (cr *containerReference) copyDir(dstPath string, srcPath string) common.Exe
return err 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. // to wait until all operations have completed.
f.Close() f.Close()

View file

@ -183,7 +183,7 @@ func vmToJSON(vm *otto.Otto) {
toJSON := func(o interface{}) string { toJSON := func(o interface{}) string {
rtn, err := json.MarshalIndent(o, "", " ") rtn, err := json.MarshalIndent(o, "", " ")
if err != nil { if err != nil {
logrus.Errorf("Unable to marsal: %v", err) logrus.Errorf("Unable to marshal: %v", err)
return "" return ""
} }
return string(rtn) return string(rtn)