diff --git a/agent/dns_test.go b/agent/dns_test.go index cf9571de0..06216759d 100644 --- a/agent/dns_test.go +++ b/agent/dns_test.go @@ -2801,7 +2801,7 @@ func TestDNS_TCP_and_UDP_Truncate(t *testing.T) { for _, question := range questions { for _, protocol := range protocols { for _, compress := range []bool{true, false} { - t.Run(fmt.Sprintf("lookup %s %s (qType:=%d) compressed=%b", question, protocol, qType, compress), func(t *testing.T) { + t.Run(fmt.Sprintf("lookup %s %s (qType:=%d) compressed=%v", question, protocol, qType, compress), func(t *testing.T) { m := new(dns.Msg) m.SetQuestion(question, dns.TypeANY) if protocol == "udp" {