Skip to content

Commit 8c4b106

Browse files
committed
add test cases
1 parent 8fda923 commit 8c4b106

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: test/tests.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ describe('NodeRSA', function () {
253253
e: 65537,
254254
};
255255

256-
var privateKeyPEMNotTrimmed = ' \n\n \n\n ' + privateKeyPKCS1 + '\n \n \n\n ';
257-
var publicKeyPEMNotTrimmed = '\n\n\n\n ' + publicKeyPKCS8 + '\n \n\n\n ';
256+
var privateKeyPEMNotTrimmed = 'random \n\n data \n\n ' + privateKeyPKCS1 + '\n \n \n\n random data ';
257+
var publicKeyPEMNotTrimmed = '\n\n\n\nrandom \n\n data\n ' + publicKeyPKCS8 + '\n \n random data\n\n ';
258258

259259
var fileKeyPKCS1 = '-----BEGIN RSA PRIVATE KEY-----\n' +
260260
'MIICXAIBAAKBgQCCdY+EpDC/vPa335l751SBM8d5Lf4z4QZX4bc+DqTY9zVY/rmP\n' +

0 commit comments

Comments
 (0)