mirror of
https://github.com/stretchr/testify.git
synced 2025-04-27 13:13:19 +00:00
assert: fix typos in comments
This commit is contained in:
parent
7f489726a5
commit
2063e81696
@ -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},
|
||||||
|
@ -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
|
||||||
// }
|
// }
|
||||||
|
@ -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]).
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user