Fixes unused errs

This commit is contained in:
Daniel 2016-11-30 13:51:43 -05:00
parent 018ce2f194
commit 0aaf1b4016
No known key found for this signature in database
GPG Key ID: 08FB2BFC470E75B4
1 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,7 @@ func TestAcmeIdentifier(t *testing.T) {
marshaled := marshaledI.(string)
err = scanner.Binder(&marshaled, &out)
test.AssertNotError(t, err, "failed to scanner.Binder")
test.AssertMarshaledEquals(t, ai, out)
}
@ -58,6 +59,7 @@ func TestJsonWebKey(t *testing.T) {
marshaled := marshaledI.(string)
err = scanner.Binder(&marshaled, &out)
test.AssertNotError(t, err, "failed to scanner.Binder")
test.AssertMarshaledEquals(t, jwk, out)
}
@ -79,6 +81,7 @@ func TestAcmeStatus(t *testing.T) {
marshaled := marshaledI.(string)
err = scanner.Binder(&marshaled, &out)
test.AssertNotError(t, err, "failed to scanner.Binder")
test.AssertMarshaledEquals(t, as, out)
}
@ -100,6 +103,7 @@ func TestOCSPStatus(t *testing.T) {
marshaled := marshaledI.(string)
err = scanner.Binder(&marshaled, &out)
test.AssertNotError(t, err, "failed to scanner.Binder")
test.AssertMarshaledEquals(t, os, out)
}
@ -119,5 +123,6 @@ func TestStringSlice(t *testing.T) {
marshaled := marshaledI.(string)
err = scanner.Binder(&marshaled, &out)
test.AssertNotError(t, err, "failed to scanner.Binder")
test.AssertMarshaledEquals(t, au, out)
}