This commit is contained in:
chantra 2019-06-12 23:24:10 -07:00 committed by Miek Gieben
parent 9cfcfb2209
commit ee62c8b086
1 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ func TestServing(t *testing.T) {
}
}
// Verify that the server responds to a query with Z flag on, ignoring the flag, and does not echoes it back
// Verify that the server responds to a query with Z flag on, ignoring the flag, and does not echoes it back
func TestServeIgnoresZFlag(t *testing.T) {
HandleFunc("example.com.", AnotherHelloServer)
@ -199,7 +199,7 @@ func TestServeIgnoresZFlag(t *testing.T) {
c := new(Client)
m := new(Msg)
// Test the Z flag is not echoed
m.SetQuestion("example.com.", TypeTXT)
m.Zero = true