mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-03-30 15:08:32 +00:00
fix signature test
This commit is contained in:
parent
8860161c67
commit
db2f20448c
@ -151,7 +151,7 @@ define(function(require) {
|
||||
it('should work', function(done) {
|
||||
pgp.decrypt(ciphertext, pubkey, function(err, pt) {
|
||||
expect(err).to.not.exist;
|
||||
expect(pt.text).to.equal(message);
|
||||
expect(pt.text).to.equal(message.replace(/\r/g,'').replace(/\n/g,"\r\n"));
|
||||
expect(pt.validSignatures[0]).to.be.true;
|
||||
done();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user