Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
assert: fix typos in comments
  • Loading branch information
alexandear committed Oct 4, 2024
commit 2063e816961eecfd3a9f80e13fa69f7ef66a4c54
2 changes: 1 addition & 1 deletion assert/assertions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
2 changes: 1 addition & 1 deletion assert/yaml/yaml_custom.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
// }
Expand Down
2 changes: 1 addition & 1 deletion assert/yaml/yaml_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]).
//
Expand Down