We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a27c7dc commit 1fa085dCopy full SHA for 1fa085d
test/RLCOFT.t.sol
@@ -73,7 +73,7 @@ contract RLCOFTTest is Test {
73
assertTrue(rlcOft.paused());
74
}
75
76
- function testPauseUnauthorized() public {
+ function test_RevertwhenPausedByUnauthorizedSender() public {
77
vm.expectRevert(abi.encodeWithSelector(AccessControlUnauthorizedAccount.selector, user1, rlcOft.PAUSER_ROLE()));
78
vm.prank(user1);
79
rlcOft.pause();
0 commit comments