- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for mustBeNil (0.12 sec)
-
src/testing/cover.go
// It is not covered (yet) by the Go 1 compatibility guidelines. func RegisterCover(c Cover) { cover = c } // mustBeNil checks the error and, if present, reports it and exits. func mustBeNil(err error) { if err != nil { fmt.Fprintf(os.Stderr, "testing: %s\n", err) os.Exit(2) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:37:31 UTC 2023 - 3.4K bytes - Viewed (0)