Skip to content

Commit

Permalink
Fix example test error
Browse files Browse the repository at this point in the history
  • Loading branch information
cbednarski committed Feb 19, 2018
1 parent ce94a81 commit 1e3afd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hostlist_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func TestSort(t *testing.T) {
CheckIndexDomain(t, 9, "google3.com", hosts)
}

func ExampleHostlist_1() {
func ExampleHostlist() {
hosts := hostess.NewHostlist()
hosts.Add(hostess.MustHostname("google.com", "127.0.0.1", false))
hosts.Add(hostess.MustHostname("google.com", "::1", true))
Expand Down

0 comments on commit 1e3afd4

Please sign in to comment.