Skip to content

Commit edaa76c

Browse files
committed
gofmt
1 parent b7d396f commit edaa76c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/net/dnsclient_unix_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1621,6 +1621,7 @@ func TestTXTRecordTwoStrings(t *testing.T) {
16211621
t.Errorf("txt[1], got %q, want %q", txt[1], want)
16221622
}
16231623
}
1624+
16241625
// Issue 29358. Add configuration knob to force TCP-only DNS requests in the pure Go resolver.
16251626
func TestDNSUseTCP(t *testing.T) {
16261627
fake := fakeDNSServer{
@@ -1646,4 +1647,4 @@ func TestDNSUseTCP(t *testing.T) {
16461647
if err != nil {
16471648
t.Fatal("exchange failed:", err)
16481649
}
1649-
}
1650+
}

src/net/dnsconfig_unix_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ var dnsReadConfigTests = []struct {
107107
want: &dnsConfig{
108108
servers: defaultNS,
109109
ndots: 1,
110-
usetcp: true,
110+
usetcp: true,
111111
timeout: 5 * time.Second,
112112
attempts: 2,
113113
search: []string{"domain.local."},

0 commit comments

Comments
 (0)