Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
szolin committed Mar 19, 2020
1 parent f4be009 commit c5f8ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsfilter/dnsfilter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ func TestAutoHosts(t *testing.T) {
ah := AutoHosts{}
ah.table = make(map[string][]net.IP)
ah.load(ah.table, "/etc/hosts")
ips := ah.process("localhost")
ips := ah.Process("localhost")
assert.True(t, ips[0].Equal(net.ParseIP("127.0.0.1")))
}

Expand Down

0 comments on commit c5f8ef7

Please sign in to comment.