Skip to content

Commit

Permalink
Tweak example
Browse files Browse the repository at this point in the history
  • Loading branch information
dave committed Nov 10, 2017
1 parent 53d7d65 commit b82b6c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blaster/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ func ExampleBlaster_Start_loadTest() {
fmt.Println(err.Error())
return
}
fmt.Printf("%#v", summary)
fmt.Printf("Fail: %d", summary.Fail)
wg.Done()
}()
<-time.After(time.Millisecond * 100)
b.Exit()
wg.Wait()
// Output:
// blaster.Summary{Success:10, Fail:0}
// Fail: 0
}

0 comments on commit b82b6c8

Please sign in to comment.