Expect.throws(null) behaviour undocumented and possibly inappropriate #480
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-not-planned
Closed as we don't intend to take action on the reported issue
This issue was originally filed by [email protected]
What steps will reproduce the problem?
Null does not throw an exception, but causes one: ObjectNotClosureException, yet it is caught within Expect.throws() and handled as any other.
Please clarify whether this behaviour is intended in method documentation and possibly update the method itself to handle this case separately.
The text was updated successfully, but these errors were encountered: