Skip to content

Commit

Permalink
fix: remove frames from assert interface stack
Browse files Browse the repository at this point in the history
- Make it so that only `AssertionError` is thrown from inside of an
  assert interface wrapper function

- Always set `ssfi` to the current function when creating a new
  `AssertionError` inside of an assert interface wrapper function

- Always set `ssfi` to the current function when creating a new
  `Assertion` inside of an assert interface wrapper function,
  and set the `keep_ssfi` flag

- Improve the `globalErr` test helper function to also validate that the
  thrown error's stack trace doesn't contain frames from the assert
  interface
  • Loading branch information
meeber committed Jan 30, 2017
1 parent 7b759c5 commit c1a08c8
Show file tree
Hide file tree
Showing 3 changed files with 205 additions and 126 deletions.

0 comments on commit c1a08c8

Please sign in to comment.