Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
okazaki-kk committed Mar 20, 2024
1 parent 41d4ba9 commit d8514a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ func TestResponsePacket(t *testing.T) {
},
}

fmt.Printf("packet: %+v\n", packet)

if packet.header != expectedDnsHeader {
t.Errorf("expected header %+v, got %+v", expectedDnsHeader, packet.header)
}
Expand Down Expand Up @@ -168,6 +166,8 @@ func TestDNSServer(t *testing.T) {
t.Errorf("error reading response: %v", err)
}

fmt.Printf("%+v\n", resPacket)

expectedDnsQuestions := []DnsQuestion{{name: "google.com", qtype: A}}
expectedDnsAnswersDomain := "google.com"

Expand Down

0 comments on commit d8514a7

Please sign in to comment.