📝 Rename example tests for godoc visibility
This commit is contained in:
parent
09ebfaefbe
commit
09a24ce720
1 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ func Example() {
|
||||||
// something went wrong in goroutine 2
|
// something went wrong in goroutine 2
|
||||||
}
|
}
|
||||||
|
|
||||||
func ExampleWaitErr_WaitForError() {
|
func Example_waitForError() {
|
||||||
we := waiterr.New()
|
we := waiterr.New()
|
||||||
we.Go(func() error {
|
we.Go(func() error {
|
||||||
time.Sleep(100 * time.Millisecond)
|
time.Sleep(100 * time.Millisecond)
|
||||||
|
|
@ -62,7 +62,7 @@ func ExampleWaitErr_WaitForError() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func ExampleWaitErr_Unwrap() {
|
func Example_unwrap() {
|
||||||
we := waiterr.New()
|
we := waiterr.New()
|
||||||
we.Go(func() error {
|
we.Go(func() error {
|
||||||
time.Sleep(100 * time.Millisecond)
|
time.Sleep(100 * time.Millisecond)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue