Skip to content

Commit 60ce1db

Browse files
committed
Improve test
1 parent fb56011 commit 60ce1db

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@ test('main', t => {
1515
});
1616

1717
test('empty array', t => {
18-
t.is(uniqueRandomArray([])(), undefined);
18+
const random = uniqueRandomArray([]);
19+
t.is(random(), undefined);
20+
t.is(random(), undefined);
21+
t.is(random(), undefined);
1922
});

0 commit comments

Comments
 (0)