Skip to content

Commit 1d575dd

Browse files
author
Pål Sivertsen
committed
Review: Drop doc line and fix typo
Review feedback: stretchr#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

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assert/assertion_forward.go

+2-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assert/assertions.go

+1-2
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

+2-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

require/require_forward.go

+2-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)