test: Update expectedBody for DNS test
This commit is contained in:
1 parent
239d1f5118
commit
d0cca91043
1 file changed
+1
-2
@@ -157,7 +157,6 @@ func TestShouldRunPingerAsPrivileged(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func TestCanPerformStartTLS(t *testing.T) {
|
||||
type args struct {
|
||||
address string
|
||||
@@ -468,7 +467,7 @@ func TestQueryDNS(t *testing.T) {
|
||||
},
|
||||
inputURL: "8.8.8.8",
|
||||
expectedDNSCode: "NOERROR",
|
||||
expectedBody: "*.iana-servers.net.",
|
||||
expectedBody: "*.ns.cloudflare.com.",
|
||||
},
|
||||
{
|
||||
name: "test Config with type PTR",
|
||||
|
||||
Reference in new issue
Block a user