From d0e45f22dfc981ad3bcc61935b50c68da30b764c Mon Sep 17 00:00:00 2001 From: Pierre Souchay Date: Thu, 8 Mar 2018 00:36:17 +0100 Subject: [PATCH] Fixed wrong format of debug msg in unit test --- agent/dns_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/dns_test.go b/agent/dns_test.go index cf9571de05..06216759d2 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" {