mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
testing: document that Skip cannot undo Error
Fixes #16502. Change-Id: Id8e117a724d73cd51844c06d47bbeba61f8dc827 Reviewed-on: https://go-review.googlesource.com/31324 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
This commit is contained in:
parent
1188569534
commit
a431bdc712
1 changed files with 1 additions and 0 deletions
|
|
@ -520,6 +520,7 @@ func (c *common) Skipf(format string, args ...interface{}) {
|
|||
}
|
||||
|
||||
// SkipNow marks the test as having been skipped and stops its execution.
|
||||
// If a test fails (see Error, Errorf, Fail) and is then skipped, it is still considered to have failed.
|
||||
// Execution will continue at the next test or benchmark. See also FailNow.
|
||||
// SkipNow must be called from the goroutine running the test, not from
|
||||
// other goroutines created during the test. Calling SkipNow does not stop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue