assert: fix typos in comments

pull/1650/head
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{}
result bool
}{
// not mathing
// not matching
{[]int{1}, []int{}, true},
{[]int{}, []int{2}, true},
{[]int{1}, []int{2}, true},

View File

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

View File

@ -5,7 +5,7 @@
//
// This package is just an indirection that allows the builder to override the
// 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
// [gopkg.in/yaml.v3] (for example for license compatibility reasons, see [PR #1120]).
//