@@ -502,7 +502,7 @@ describe("NodeRSA", function(){
502
502
var key2 = null ;
503
503
var suit = dataBundle [ i ] ;
504
504
505
- it ( "`encrypt()` by node" + i , function ( ) {
505
+ it ( "`encrypt()` by node " + i , function ( ) {
506
506
var key = generatedKeys [ Math . round ( Math . random ( ) * 1000 ) % generatedKeys . length ] . exportKey ( ) ;
507
507
key1 = new NodeRSA ( key , { environment : 'node' } ) ;
508
508
key2 = new NodeRSA ( key , { environment : 'browser' } ) ;
@@ -511,7 +511,7 @@ describe("NodeRSA", function(){
511
511
assert ( encrypted [ i ] . length > 0 ) ;
512
512
} ) ;
513
513
514
- it ( "`decrypt()` by browser" + i , function ( ) {
514
+ it ( "`decrypt()` by browser " + i , function ( ) {
515
515
decrypted [ i ] = key2 . decrypt ( encrypted [ i ] , _ . isArray ( suit . encoding ) ? suit . encoding [ 0 ] : suit . encoding ) ;
516
516
if ( Buffer . isBuffer ( decrypted [ i ] ) ) {
517
517
assert . equal ( suit . data . toString ( 'hex' ) , decrypted [ i ] . toString ( 'hex' ) ) ;
@@ -567,7 +567,7 @@ describe("NodeRSA", function(){
567
567
}
568
568
for ( var env in envs ) {
569
569
( function ( env ) {
570
- describe ( "Good cases" + ( envs . length > 1 ? " in " + env + " environment" : "" ) , function ( ) {
570
+ describe ( "Good cases " + ( envs . length > 1 ? " in " + env + " environment" : "" ) , function ( ) {
571
571
var signed = { } ;
572
572
var key = null ;
573
573
0 commit comments