File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
webauthn-server-attestation/src/test/scala/com/yubico/webauthn/attestation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ import org.bouncycastle.asn1.DEROctetString
66import org .bouncycastle .asn1 .x500 .X500Name
77import org .junit .runner .RunWith
88import org .scalatest .funspec .AnyFunSpec
9- import org .scalatest .matchers .should .Matchers . convertToAnyShouldWrapper
9+ import org .scalatest .matchers .should .Matchers
1010import org .scalatestplus .junit .JUnitRunner
1111
1212import java .security .cert .X509Certificate
1313
1414@ RunWith (classOf [JUnitRunner ])
15- class CertificateUtilSpec extends AnyFunSpec {
15+ class CertificateUtilSpec extends AnyFunSpec with Matchers {
1616 describe(" parseFidoSerNumExtension" ) {
1717 val idFidoGenCeSernum = " 1.3.6.1.4.1.45724.1.1.2"
1818 it(" should correctly parse the serial number from a valid certificate with the id-fido-gen-ce-sernum extension." ) {
@@ -36,7 +36,7 @@ class CertificateUtilSpec extends AnyFunSpec {
3636 .parseFidoSerNumExtension(goodCert)
3737 .get
3838 )
39- result.shouldEqual (ByteArray .fromHex(" 00010203" ));
39+ result should equal (ByteArray .fromHex(" 00010203" ))
4040 }
4141
4242 }
You can’t perform that action at this time.
0 commit comments