diff options
| author | Shulhan <ms@kilabit.info> | 2022-10-05 02:51:35 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-10-05 02:51:35 +0700 |
| commit | 5b160b0b0f88748db525e1af89030fa7029f09c7 (patch) | |
| tree | dcfe0d9fc2890ee939e042d6beca02e012beb013 | |
| parent | c2270f4bc01d075b448797543344118768f2fd80 (diff) | |
| download | pakakeh.go-5b160b0b0f88748db525e1af89030fa7029f09c7.tar.xz | |
email/dkim: fix tests with -count=X, where X>1
| -rw-r--r-- | lib/email/dkim/keypool_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/email/dkim/keypool_test.go b/lib/email/dkim/keypool_test.go index f303fb02..59f27e42 100644 --- a/lib/email/dkim/keypool_test.go +++ b/lib/email/dkim/keypool_test.go @@ -12,6 +12,8 @@ import ( ) func TestKeyPoolClear(t *testing.T) { + DefaultKeyPool.Clear() + DefaultKeyPool.Put("example.com", &Key{ExpiredAt: 1}) got := DefaultKeyPool.String() test.Assert(t, "DefaultKeyPool.Clear", "[{example.com 1}]", got) |
