mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-03-14 22:48:35 +03:00
minor
This commit is contained in:
parent
c16dc6cf62
commit
7c19221241
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ func TestAutoHosts(t *testing.T) {
|
|||
ips := ah.Process("localhost")
|
||||
assert.True(t, ips[0].Equal(net.ParseIP("127.0.0.1")))
|
||||
ips = ah.Process("newhost")
|
||||
assert.True(t, len(ips) == 0)
|
||||
assert.True(t, ips == nil)
|
||||
|
||||
table := ah.List()
|
||||
ips, _ = table["host"]
|
||||
|
|
Loading…
Add table
Reference in a new issue