diff --git a/internal/spew/internalunsafe_test.go b/internal/spew/internalunsafe_test.go index 2b547c41..aa8fa00b 100644 --- a/internal/spew/internalunsafe_test.go +++ b/internal/spew/internalunsafe_test.go @@ -47,7 +47,7 @@ func changeKind(v *reflect.Value, readOnly bool) { *flags |= flagKindMask } -// TestAddedReflectValue tests functionaly of the dump and formatter code which +// TestAddedReflectValue tests functionality of the dump and formatter code which // falls back to the standard fmt library for new types that might get added to // the language. func TestAddedReflectValue(t *testing.T) { diff --git a/test/operator/operator_test.go b/test/operator/operator_test.go index 2ebb176f..ec7da872 100644 --- a/test/operator/operator_test.go +++ b/test/operator/operator_test.go @@ -148,7 +148,7 @@ func TestOperator_FunctionOverTypesPrecedence(t *testing.T) { expr.Env(env), expr.Operator("+", "Add"), expr.Function("Add", func(args ...interface{}) (interface{}, error) { - // Wierd function that returns 100 + a + b in testing purposes. + // Weird function that returns 100 + a + b for testing purposes. return args[0].(int) + args[1].(int) + 100, nil }, new(func(_ int, __ int) int),