mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-23 05:25:35 +03:00
10 lines
178 B
Go
10 lines
178 B
Go
|
package main
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
func TestResolveRDNS(t *testing.T) {
|
||
|
if r := resolveRDNS("1.1.1.1", "1.1.1.1"); r != "one.one.one.one" {
|
||
|
t.Errorf("resolveRDNS(): %s", r)
|
||
|
}
|
||
|
}
|