Skip to content

Commit

Permalink
Fix typo in Assert doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
braydonk authored Nov 28, 2024
1 parent aeb1817 commit 3415f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/assert/assert.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func NilErr(t TestingT, err error) {
Assert(t, err == nil, NilErrMessage, err)
}

// Assert that `err` is not nil. Uses `assert.NotNillErrMessage`.
// Assert that `err` is not nil. Uses `assert.NotNilErrMessage`.
func NotNilErr(t TestingT, err error) {
t.Helper()
Assert(t, err != nil, NotNilErrMessage)
Expand Down

0 comments on commit 3415f3c

Please sign in to comment.