Skip to content

Commit 1d575dd

Browse files
author
Pål Sivertsen
committed
Review: Drop doc line and fix typo
Review feedback: #1129 (comment)
1 parent f003a4b commit 1d575dd

File tree

5 files changed

+8
-16
lines changed

5 files changed

+8
-16
lines changed

‎assert/assertion_format.go

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎assert/assertion_forward.go

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎assert/assertions.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,8 +2149,7 @@ func ErrorAs(t TestingT, err error, target interface{}, msgAndArgs ...interface{
21492149
), msgAndArgs...)
21502150
}
21512151

2152-
// NotErrorAs asserts that at none of the errors in err's chain matches target.
2153-
// This is the inverse of the ErrorAs function.
2152+
// NotErrorAs asserts that none of the errors in err's chain matches target.
21542153
func NotErrorAs(t TestingT, err error, target interface{}, msgAndArgs ...interface{}) bool {
21552154
if h, ok := t.(tHelper); ok {
21562155
h.Helper()

‎require/require.go

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎require/require_forward.go

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)