Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openpgpjs/openpgpjs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/crypto/elliptic.js')
-rw-r--r--test/crypto/elliptic.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/crypto/elliptic.js b/test/crypto/elliptic.js
index c9cd4072..abe23a24 100644
--- a/test/crypto/elliptic.js
+++ b/test/crypto/elliptic.js
@@ -167,10 +167,10 @@ module.exports = () => describe('Elliptic Curve Cryptography @lightweight', func
return Promise.all([
expect(verify_signature(
'invalid oid', 8, [], [], [], []
- )).to.be.rejectedWith(Error, /Not valid curve/),
+ )).to.be.rejectedWith(Error, /Unknown curve/),
expect(verify_signature(
'\x00', 8, [], [], [], []
- )).to.be.rejectedWith(Error, /Not valid curve/)
+ )).to.be.rejectedWith(Error, /Unknown curve/)
]);
});
it('Invalid public key', async function () {