diff options
Diffstat (limited to 'plugin/dnssec/cache_test.go')
-rw-r--r-- | plugin/dnssec/cache_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugin/dnssec/cache_test.go b/plugin/dnssec/cache_test.go index 6734a88b5..3df862a36 100644 --- a/plugin/dnssec/cache_test.go +++ b/plugin/dnssec/cache_test.go @@ -17,7 +17,7 @@ func TestCacheSet(t *testing.T) { dnskey, err := ParseKeyFile(fPub, fPriv) if err != nil { - t.Fatalf("failed to parse key: %v\n", err) + t.Fatalf("Failed to parse key: %v\n", err) } c := cache.New(defaultCap) @@ -29,7 +29,7 @@ func TestCacheSet(t *testing.T) { _, ok := d.get(k, server) if !ok { - t.Errorf("signature was not added to the cache") + t.Errorf("Signature was not added to the cache") } } @@ -41,7 +41,7 @@ func TestCacheNotValidExpired(t *testing.T) { dnskey, err := ParseKeyFile(fPub, fPriv) if err != nil { - t.Fatalf("failed to parse key: %v\n", err) + t.Fatalf("Failed to parse key: %v\n", err) } c := cache.New(defaultCap) @@ -53,7 +53,7 @@ func TestCacheNotValidExpired(t *testing.T) { _, ok := d.get(k, server) if ok { - t.Errorf("signature was added to the cache even though not valid") + t.Errorf("Signature was added to the cache even though not valid") } } @@ -65,7 +65,7 @@ func TestCacheNotValidYet(t *testing.T) { dnskey, err := ParseKeyFile(fPub, fPriv) if err != nil { - t.Fatalf("failed to parse key: %v\n", err) + t.Fatalf("Failed to parse key: %v\n", err) } c := cache.New(defaultCap) @@ -77,6 +77,6 @@ func TestCacheNotValidYet(t *testing.T) { _, ok := d.get(k, server) if ok { - t.Errorf("signature was added to the cache even though not valid yet") + t.Errorf("Signature was added to the cache even though not valid yet") } } |