From 2741f7509fbf396db0251bca62337c78bf63437b Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 21 Jul 2014 13:07:26 -0700 Subject: [PATCH] paypro: minor - remove useless text processing. --- test/test.PayPro.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/test.PayPro.js b/test/test.PayPro.js index 3754e58..037f930 100644 --- a/test/test.PayPro.js +++ b/test/test.PayPro.js @@ -463,10 +463,6 @@ describe('PayPro', function() { var paypro = new PayPro(); var pem1 = paypro._DERtoPEM(x509.der, 'CERTIFICATE'); var pem2 = KJUR.asn1.ASN1Util.getPEMStringFromHex(x509.der.toString('hex'), 'CERTIFICATE'); - pem1 = pem1.trim(); - pem2 = pem2.trim(); - pem1 = pem1.replace(/\s+/g, ''); - pem2 = pem2.replace(/\s+/g, ''); pem1.should.equal(pem2); }); });