Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expect.throws(null) behaviour undocumented and possibly inappropriate #480

Closed
DartBot opened this issue Nov 16, 2011 · 3 comments
Closed
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

Comments

@DartBot
Copy link

DartBot commented Nov 16, 2011

This issue was originally filed by rodion...@unipro.ru


What steps will reproduce the problem?

  1. Invoke Expect.throws(null)
  2. Observe the complete lack of anything unusual.

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.

@DartBot
Copy link
Author

DartBot commented Nov 17, 2011

This comment was originally written by drfibonacci@google.com


Added Area-Test, Triaged labels.

@anders-sandholm
Copy link
Contributor

Removed Area-Test label.
Added Area-Library label.

@floitschG
Copy link
Contributor

Expect is on its way out.


Added WontFix label.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

4 participants