mirror of
https://github.com/S2-/securerandomstring.git
synced 2025-08-02 18:30:04 +02:00
fix source files to be compliant with .jscs rules
This commit is contained in:
4
tests.js
4
tests.js
@@ -53,8 +53,8 @@ srs({length: 256}, function(err, sr) {
|
||||
|
||||
// sync tests
|
||||
test('generate a random string 32 chars long (sync)', srs().length, 32);
|
||||
test('generate a random string 1 chars long (sync)', srs({length:1}).length, 1);
|
||||
test('generate a random string 256 chars long (sync)', srs({length:256}).length, 256);
|
||||
test('generate a random string 1 chars long (sync)', srs({length: 1}).length, 1);
|
||||
test('generate a random string 256 chars long (sync)', srs({length: 256}).length, 256);
|
||||
|
||||
|
||||
//in 2000 chars there should be at least one substitution
|
||||
|
Reference in New Issue
Block a user