Skip to content

Commit a838ee0

Browse files
committed
test formatting
1 parent 4382a4b commit a838ee0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/tests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ describe("NodeRSA", function(){
502502
var key2 = null;
503503
var suit = dataBundle[i];
504504

505-
it("`encrypt()` by node" + i, function () {
505+
it("`encrypt()` by node " + i, function () {
506506
var key = generatedKeys[Math.round(Math.random() * 1000) % generatedKeys.length].exportKey();
507507
key1 = new NodeRSA(key, {environment: 'node'});
508508
key2 = new NodeRSA(key, {environment: 'browser'});
@@ -511,7 +511,7 @@ describe("NodeRSA", function(){
511511
assert(encrypted[i].length > 0);
512512
});
513513

514-
it("`decrypt()` by browser" + i, function () {
514+
it("`decrypt()` by browser " + i, function () {
515515
decrypted[i] = key2.decrypt(encrypted[i], _.isArray(suit.encoding) ? suit.encoding[0] : suit.encoding);
516516
if (Buffer.isBuffer(decrypted[i])) {
517517
assert.equal(suit.data.toString('hex'), decrypted[i].toString('hex'));
@@ -567,7 +567,7 @@ describe("NodeRSA", function(){
567567
}
568568
for (var env in envs) {
569569
(function (env) {
570-
describe("Good cases" + (envs.length > 1 ? " in " + env + " environment" : ""), function () {
570+
describe("Good cases " + (envs.length > 1 ? " in " + env + " environment" : ""), function () {
571571
var signed = {};
572572
var key = null;
573573

0 commit comments

Comments
 (0)