Spelling (#240)
* spelling: cartesian * spelling: deferring * spelling: marshal
This commit is contained in:
parent
2f3187ebcd
commit
2097a3c017
|
@ -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},
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue