fix signature test

This commit is contained in:
Tankred Hase 2013-12-05 22:12:32 +01:00
parent 8860161c67
commit db2f20448c

View File

@ -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();
});