fixed Logf format specifier

This commit is contained in:
Bryan Boreham committed 2015-06-26 17:22:35 +01:00
1 parent 906ff210fe
commit 565454d3cb
1 file changed
+1 -1
+1 -1
View File
@@ -213,7 +213,7 @@ func TestCacheEntries(t *testing.T) {
require.True(t, err == errNoLocalReplies, "Get() error with CacheNoLocalReplies")
clk.Add(time.Duration(DefaultLocalTTL/2) * time.Second)
t.Logf("Checking that we get an expired response after %f seconds", DefaultLocalTTL)
t.Logf("Checking that we get an expired response after %d seconds", DefaultLocalTTL)
clk.Add(time.Second * time.Duration(DefaultLocalTTL+1))
t.Logf("Checking that we get an expired response after %d seconds", DefaultLocalTTL)
resp, err = l.Get(questionMsg3, minUDPSize)