Skip to content

Commit 5e3d5a2

Browse files
Fix typos (#686)
1 parent c42572b commit 5e3d5a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/spew/internalunsafe_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func changeKind(v *reflect.Value, readOnly bool) {
4747
*flags |= flagKindMask
4848
}
4949

50-
// TestAddedReflectValue tests functionaly of the dump and formatter code which
50+
// TestAddedReflectValue tests functionality of the dump and formatter code which
5151
// falls back to the standard fmt library for new types that might get added to
5252
// the language.
5353
func TestAddedReflectValue(t *testing.T) {

test/operator/operator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func TestOperator_FunctionOverTypesPrecedence(t *testing.T) {
148148
expr.Env(env),
149149
expr.Operator("+", "Add"),
150150
expr.Function("Add", func(args ...interface{}) (interface{}, error) {
151-
// Wierd function that returns 100 + a + b in testing purposes.
151+
// Weird function that returns 100 + a + b for testing purposes.
152152
return args[0].(int) + args[1].(int) + 100, nil
153153
},
154154
new(func(_ int, __ int) int),

0 commit comments

Comments
 (0)