paypro: minor - remove useless text processing.

This commit is contained in:
Christopher Jeffrey 2014-07-21 13:07:26 -07:00
parent 92b7fad243
commit 2741f7509f
1 changed files with 0 additions and 4 deletions

View File

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