diff options
Diffstat (limited to 'server/store/store_test.go')
-rw-r--r-- | server/store/store_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/store/store_test.go b/server/store/store_test.go index 628c539..90a494e 100644 --- a/server/store/store_test.go +++ b/server/store/store_test.go @@ -93,6 +93,9 @@ func testStore(t *testing.T, db CertStorer) { if err != nil { t.Error(err) } + if len(revoked) != 1 { + t.Errorf("Expected 1 revoked key, got %d", len(revoked)) + } for _, k := range revoked { if k.KeyID != "key" { t.Errorf("Unexpected key: %s", k.KeyID) |