Add TooManyRPCRequestsError to TestWrapError

This commit is contained in:
Roland Shoemaker 2015-10-04 21:09:37 -07:00
parent 5d4fccabeb
commit 9ddc09c096
1 changed files with 4 additions and 2 deletions

View File

@ -6,10 +6,11 @@
package rpc
import (
"github.com/letsencrypt/boulder/core"
"github.com/letsencrypt/boulder/test"
"reflect"
"testing"
"github.com/letsencrypt/boulder/core"
"github.com/letsencrypt/boulder/test"
)
func TestWrapError(t *testing.T) {
@ -24,6 +25,7 @@ func TestWrapError(t *testing.T) {
core.CertificateIssuanceError("foo"),
core.NoSuchRegistrationError("foo"),
core.RateLimitedError("foo"),
core.TooManyRPCRequestsError("foo"),
}
for _, c := range testCases {
wrapped := wrapError(c)