Skip to content

Commit 2629130

Browse files
committed
[Tests] fix tests run in batch
1 parent 5428cfc commit 2629130

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

test/vectors.js

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,11 @@ function makeTest (alg, i, verbose) {
5858
})
5959
}
6060

61-
if (process.argv[2]) {
62-
makeTest(process.argv[2], parseInt(process.argv[3], 10), true)
63-
} else {
64-
vectors.forEach(function (v, i) {
65-
makeTest('sha', i)
66-
makeTest('sha1', i)
67-
makeTest('sha224', i)
68-
makeTest('sha256', i)
69-
makeTest('sha384', i)
70-
makeTest('sha512', i)
71-
})
72-
}
61+
vectors.forEach(function (v, i) {
62+
makeTest('sha', i)
63+
makeTest('sha1', i)
64+
makeTest('sha224', i)
65+
makeTest('sha256', i)
66+
makeTest('sha384', i)
67+
makeTest('sha512', i)
68+
})

0 commit comments

Comments
 (0)