Skip to content

Commit

Permalink
Merge pull request #13 from coinbase/wilson/revert-example
Browse files Browse the repository at this point in the history
add test name example for revert case
  • Loading branch information
wilsoncusack committed Apr 13, 2024
2 parents f1647ac + 26b59a6 commit 70b9645
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 70b9645

Please sign in to comment.