📝 Rename example tests for godoc visibility

This commit is contained in:
Dan Jones 2025-11-14 15:11:26 -06:00
commit 09a24ce720

View file

@ -42,7 +42,7 @@ func Example() {
// something went wrong in goroutine 2
}
func ExampleWaitErr_WaitForError() {
func Example_waitForError() {
we := waiterr.New()
we.Go(func() error {
time.Sleep(100 * time.Millisecond)
@ -62,7 +62,7 @@ func ExampleWaitErr_WaitForError() {
}
func ExampleWaitErr_Unwrap() {
func Example_unwrap() {
we := waiterr.New()
we.Go(func() error {
time.Sleep(100 * time.Millisecond)