fix signature test
This commit is contained in:
parent
8860161c67
commit
db2f20448c
|
@ -151,7 +151,7 @@ define(function(require) {
|
||||||
it('should work', function(done) {
|
it('should work', function(done) {
|
||||||
pgp.decrypt(ciphertext, pubkey, function(err, pt) {
|
pgp.decrypt(ciphertext, pubkey, function(err, pt) {
|
||||||
expect(err).to.not.exist;
|
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;
|
expect(pt.validSignatures[0]).to.be.true;
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user