From c46b0e07c3d7a59effd8ec5cd2001c29e201f774 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Wed, 12 Feb 2014 13:36:04 +0000 Subject: [PATCH] Normalize names a bit --- dns_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dns_test.go b/dns_test.go index aa26f266..edd5b98f 100644 --- a/dns_test.go +++ b/dns_test.go @@ -210,7 +210,7 @@ func TestCompressLength(t *testing.T) { } // Does the predicted length match final packed length? -func TestMsgCompressLenTest(t *testing.T) { +func TestMsgCompressLength(t *testing.T) { makeMsg := func(question string, ans, ns, e []RR) *Msg { msg := new(Msg) msg.SetQuestion(Fqdn(question), TypeANY) @@ -243,7 +243,7 @@ func TestMsgCompressLenTest(t *testing.T) { } } -func TestMsgLenTest(t *testing.T) { +func TestMsgLength(t *testing.T) { makeMsg := func(question string, ans, ns, e []RR) *Msg { msg := new(Msg) msg.SetQuestion(Fqdn(question), TypeANY) @@ -275,7 +275,7 @@ func TestMsgLenTest(t *testing.T) { } } -func TestMsgLenTest2(t *testing.T) { +func TestMsgLength2(t *testing.T) { // Serialized replies var testMessages = []string{ // google.com. IN A? @@ -315,7 +315,7 @@ func TestMsgLenTest2(t *testing.T) { } } -func BenchmarkMsgLen(b *testing.B) { +func BenchmarkMsgLength(b *testing.B) { b.StopTimer() makeMsg := func(question string, ans, ns, e []RR) *Msg { msg := new(Msg) @@ -335,7 +335,7 @@ func BenchmarkMsgLen(b *testing.B) { } } -func BenchmarkMsgLenPack(b *testing.B) { +func BenchmarkMsgLengthPack(b *testing.B) { makeMsg := func(question string, ans, ns, e []RR) *Msg { msg := new(Msg) msg.SetQuestion(Fqdn(question), TypeANY)