-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup test names / scopelint fix #22
Conversation
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
@@ -17,7 +16,8 @@ contract Constants { | |||
uint256 constant MAX_REASONABLE_TIME_PERIOD = 302_400; // 6 weeks assume a 12 sec block time | |||
|
|||
// we have not yet deployed the Radworks Bravo Governor | |||
address constant DEPLOYED_BRAVO_GOVERNOR = 0x1111111111111111111111111111111111111111; | |||
// @dev: this is a placeholder address and will be replaced with the deployed address | |||
address constant DEPLOYED_BRAVO_GOVERNOR = address(0x0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(arbitrary comment)
- When looking at the Scopelint spec of PoolTogether I noticed a couple test cases were missing in Radworks.
│ ├── Old Governor Cannot Send E T H After Proposal Succeeds
│ ├── Old Governor Sends Token After Proposal Is Defeated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done: 2d0828d
360bb5b
to
d2f8877
Compare
test/RadworksGovernor.t.sol
Outdated
} | ||
|
||
function testFuzz_CanGrantPauserOnDrips(address _newPauser) public { | ||
// assummeNotTimelock(_newPauser); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, done: 2d0828d
This commit e41b463 moved test functions from RadworksGovernorAlpha.t.sol (and deleted it) into RadworksGovernor.t.sol so that the test functions would be reported on by |
cfabece
to
ec11571
Compare
e41b463
to
917826e
Compare
ec11571
to
79efaea
Compare
917826e
to
bf9ac33
Compare
79efaea
to
7ffeb0a
Compare
5321783
to
f20777f
Compare
…rnor.t.sol for scopelint compatibility
f20777f
to
b0e85b2
Compare
Cleaned up test contracts and how they are organized and named for better compatibility with "scopelint spec" command.