From db2f20448c716a039ab456486fec7841312dec67 Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Thu, 5 Dec 2013 22:12:32 +0100 Subject: [PATCH] fix signature test --- test/integration/pgp-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/pgp-test.js b/test/integration/pgp-test.js index 87f129b1..7d1082f6 100644 --- a/test/integration/pgp-test.js +++ b/test/integration/pgp-test.js @@ -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(); });