We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d9ade4 commit f06de41Copy full SHA for f06de41
intra/dns53/dot_test.go
@@ -382,6 +382,10 @@ func TestProtonReaches(t *testing.T) {
382
_, err = pxr.Amnezia()
383
ko(t, err)
384
385
+ if proton == nil {
386
+ t.Fatal("nil main proton proxy")
387
+ }
388
+
389
// _, err = proton.Fork("UK")
390
// ko(t, err)
391
// _, err = proton.Fork("CH")
@@ -425,7 +429,7 @@ func TestProtonReaches(t *testing.T) {
425
429
}
426
430
427
431
ans := xdns.AsMsg(r4)
428
- if xdns.Len(ans) == 0 && xdns.Len(ans) == 0 {
432
+ if xdns.Len(ans) <= 0 {
433
t.Fatal("no ans")
434
435
ilog.D("dns", xdns.Ans(ans))
0 commit comments