dapphub / dapphub/ds-test

Mark `fail()` function `virtual`

Open
#29 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Solidity
Stars
238
Forks
76
PR merge metrics
No merged PRs in 30d

Description

When writing tests and experimenting, sometimes it is beneficial to let `fail()` quit as soon as the first test fails. This helps debugging and avoid a lot of logs on screen.

Something like this
```
function fail() internal {
revert();
}
```

Marking this function `virtual` allows us to update this function as necessary.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.