Skip to content

Commit

Permalink
add test name example for revert case
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsoncusack committed Apr 12, 2024
1 parent 648ff60 commit 26b59a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,9 @@ For example,

For example

1. `test_transferFrom_debitsFromAccountBalance`
2. `test_transferFrom_debitsFromAccountBalance_whenCalledViaPermit`
- `test_transferFrom_debitsFromAccountBalance`
- `test_transferFrom_debitsFromAccountBalance_whenCalledViaPermit`
- `test_transferFrom_reverts_whenAmountExceedsBalance`

If the contract is named after a function, then function name can be omitted.

Expand Down

0 comments on commit 26b59a6

Please sign in to comment.