Skip to content

Commit

Permalink
Review: Drop doc line and fix typo
Browse files Browse the repository at this point in the history
Review feedback:
stretchr#1129 (comment)
  • Loading branch information
Pål Sivertsen committed Oct 4, 2024
1 parent f003a4b commit 1d575dd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 16 deletions.
3 changes: 1 addition & 2 deletions assert/assertion_format.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions assert/assertion_forward.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions assert/assertions.go
Original file line number Diff line number Diff line change
Expand Up @@ -2149,8 +2149,7 @@ func ErrorAs(t TestingT, err error, target interface{}, msgAndArgs ...interface{
), msgAndArgs...)
}

// NotErrorAs asserts that at none of the errors in err's chain matches target.
// This is the inverse of the ErrorAs function.
// NotErrorAs asserts that none of the errors in err's chain matches target.
func NotErrorAs(t TestingT, err error, target interface{}, msgAndArgs ...interface{}) bool {
if h, ok := t.(tHelper); ok {
h.Helper()
Expand Down
6 changes: 2 additions & 4 deletions require/require.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions require/require_forward.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1d575dd

Please sign in to comment.