Skip to content

Commit 85574ef

Browse files
committed
Do not assert output for concurrent printing
1 parent d115e4d commit 85574ef

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

graceful/graceful_example_test.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,6 @@ func ExampleGroup_visibleStages() {
121121

122122
stopErr := g.Stop(ctx, 2*time.Second)
123123
fmt.Println("stop error:", stopErr) // nil here indicates everything shutdown gracefully.
124-
// Output:
125-
// starting server
126-
// start error: <nil>
127-
// gracefully stopping server
128-
// server has stopped listening: http: Server closed
129-
// server gracefully stopped
130-
// stop error: <nil>
131124
}
132125

133126
// RunnerStartError demonstrates the behavior of a group when at least one

0 commit comments

Comments
 (0)