Skip to content

Commit

Permalink
Ensure assertions do not fail with FormatException
Browse files Browse the repository at this point in the history
Update the assertion message construction order to ensure user message is built first (user message could fail with FormatException) and then include this user message in our messages. This switch of order ensure we will never throw FormatException because our built message becomes an invalid format composite.
  • Loading branch information
Evangelink committed Jun 9, 2022
1 parent 5418ac0 commit 74471c0
Show file tree
Hide file tree
Showing 5 changed files with 338 additions and 252 deletions.
Loading

0 comments on commit 74471c0

Please sign in to comment.