Skip to content

Commit

Permalink
Merge pull request #236 from taotetek/master
Browse files Browse the repository at this point in the history
Problem: ExampleBeacon should be niladic
  • Loading branch information
bluca authored Oct 8, 2017
2 parents b9c1810 + fd9fba3 commit 98ab091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func TestBeacon(t *testing.T) {
speaker.Destroy()
}

func ExampleBeacon(t *testing.T) {
func ExampleBeacon() {
beacon := NewBeacon()
defer beacon.Destroy()

Expand Down

0 comments on commit 98ab091

Please sign in to comment.