Skip to content

Commit

Permalink
Require calls <= 1 in toSorted/comparefn-stop-after-error
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Oct 17, 2022
1 parent 8e9df5e commit d0c6700
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ testWithTypedArrayConstructors(TA => {
}
});
} catch (e) {}
assert.sameValue(calls, 1, "compareFn is not called after an error");
assert.sameValue(calls <= 1, true, "compareFn is not called after an error");
});

0 comments on commit d0c6700

Please sign in to comment.