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

Already on GitHub? Sign in to your account

Decide what to do with a result in an assert which is not returned #104

Closed
schwern opened this Issue Jan 9, 2011 · 0 comments

Comments

Projects
None yet
1 participant
Owner

schwern commented Jan 9, 2011

If the result of an assert is not returned from an assert it will not be displayed. This can be problematic in a number of scenarios.

  • The author simply forgets to return it
  • An assert in the stack dies, should the result be displayed with what it has up to that point?
  • An assert calls multiple asserts.

If nothing else, there should be a way to say "display this result now".

@schwern schwern closed this Mar 16, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment