Skip to content

Commit 55ebaca

Browse files
Merge pull request #1650 from alexandear/assert-fix-comment-typos
assert: fix typos in comments
2 parents 7f48972 + 2063e81 commit 55ebaca

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

assert/assertions_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,7 @@ func TestNotElementsMatch(t *testing.T) {
13271327
actual interface{}
13281328
result bool
13291329
}{
1330-
// not mathing
1330+
// not matching
13311331
{[]int{1}, []int{}, true},
13321332
{[]int{}, []int{2}, true},
13331333
{[]int{1}, []int{2}, true},

assert/yaml/yaml_custom.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// import assertYaml "github.com/stretchr/testify/assert/yaml"
1616
//
1717
// func init() {
18-
// assertYaml.Unmarshall = func (in []byte, out interface{}) error {
18+
// assertYaml.Unmarshal = func (in []byte, out interface{}) error {
1919
// // ...
2020
// return nil
2121
// }

assert/yaml/yaml_default.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//
66
// This package is just an indirection that allows the builder to override the
77
// indirection with an alternative implementation of this package that uses
8-
// another implemantation of YAML deserialization. This allows to not either not
8+
// another implementation of YAML deserialization. This allows to not either not
99
// use YAML deserialization at all, or to use another implementation than
1010
// [gopkg.in/yaml.v3] (for example for license compatibility reasons, see [PR #1120]).
1111
//

0 commit comments

Comments
 (0)