assert: fix typos in comments

This commit is contained in:
Oleksandr Redko 2024-10-04 18:02:45 +03:00
parent 7f489726a5
commit 2063e81696
3 changed files with 3 additions and 3 deletions

View File

@ -1327,7 +1327,7 @@ func TestNotElementsMatch(t *testing.T) {
actual interface{} actual interface{}
result bool result bool
}{ }{
// not mathing // not matching
{[]int{1}, []int{}, true}, {[]int{1}, []int{}, true},
{[]int{}, []int{2}, true}, {[]int{}, []int{2}, true},
{[]int{1}, []int{2}, true}, {[]int{1}, []int{2}, true},

View File

@ -15,7 +15,7 @@
// import assertYaml "github.com/stretchr/testify/assert/yaml" // import assertYaml "github.com/stretchr/testify/assert/yaml"
// //
// func init() { // func init() {
// assertYaml.Unmarshall = func (in []byte, out interface{}) error { // assertYaml.Unmarshal = func (in []byte, out interface{}) error {
// // ... // // ...
// return nil // return nil
// } // }

View File

@ -5,7 +5,7 @@
// //
// This package is just an indirection that allows the builder to override the // This package is just an indirection that allows the builder to override the
// indirection with an alternative implementation of this package that uses // indirection with an alternative implementation of this package that uses
// another implemantation of YAML deserialization. This allows to not either not // another implementation of YAML deserialization. This allows to not either not
// use YAML deserialization at all, or to use another implementation than // use YAML deserialization at all, or to use another implementation than
// [gopkg.in/yaml.v3] (for example for license compatibility reasons, see [PR #1120]). // [gopkg.in/yaml.v3] (for example for license compatibility reasons, see [PR #1120]).
// //