Closed
Description
I've just found out that the error
argument of .throws
is not optional
.throws(function|promise, error, [message])
and that .regexTest
is not consistent with the rest of the assertions:
.regexTest(regex, contents, [message])
because of its parameter order (all other assertions follow the basic scheme (actual, expected, message)
).
I'm not sure if these were intended…