- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for shouldFailFast (0.12 sec)
-
src/testing/fuzz.go
// The corpusEntry must have non-nil Values in order to run the // test. If Values is nil, it is a bug in our code. panic(fmt.Sprintf("corpus file %q was not unmarshaled", e.Path)) } if shouldFailFast() { return true } testName := f.name if e.Path != "" { testName = fmt.Sprintf("%s/%s", testName, filepath.Base(e.Path)) } if f.testContext.isFuzzing {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 22.9K bytes - Viewed (0) -
src/testing/testing.go
if t.cleanupStarted.Load() { panic("testing: t.Run called during t.Cleanup") } t.hasSub.Store(true) testName, ok, _ := t.context.match.fullName(&t.common, name) if !ok || shouldFailFast() { return true } // Record the stack trace at the point of this call so that if the subtest // function - which runs in a separate stack - is marked as a helper, we can
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0)