Skip to content

Commit 6030e1b

Browse files
📚 docs(test): Explain why throwing tests should throw.
1 parent 6738599 commit 6030e1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/src/api/sort.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ test(limbs, 2, 2, [[1]]);
4444
test(limbs, 0, 2, [[1], [0]]);
4545

4646
// Assertions
47-
test(throws, 2, 2, [[1], [0]]);
48-
test(throws, 3, 3, [
47+
test('k is too large', throws, 2, 2, [[1], [0]]);
48+
test('M is too small', throws, 3, 3, [
4949
[2, 1, 3],
5050
[3, 2, 1],
5151
[1, 2, 3],

0 commit comments

Comments
 (0)