Skip to content

Commit db00c42

Browse files
committed
fix test names
1 parent 4c4bbca commit db00c42

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/contracts-bedrock/test/L1/OptimismPortal2.t.sol

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ contract OptimismPortal2_FinalizeWithdrawal_Test is CommonTest {
634634
}
635635

636636
/// @dev Tests that the guardian role can set the respected game type to anything they want.
637-
function testFuzz_setRespectedGameType_guardian_canSetRespectedGameType_succeeds(GameType _ty) external {
637+
function testFuzz_setRespectedGameType_guardianCanSetRespectedGameType_succeeds(GameType _ty) external {
638638
vm.assume(_ty.raw() != type(uint32).max);
639639
uint64 respectedGameTypeUpdatedAt = optimismPortal2.respectedGameTypeUpdatedAt();
640640
vm.expectEmit(address(optimismPortal2));
@@ -645,7 +645,8 @@ contract OptimismPortal2_FinalizeWithdrawal_Test is CommonTest {
645645
assertEq(optimismPortal2.respectedGameType().raw(), _ty.raw());
646646
}
647647

648-
function testFuzz_setRespectedGameType_guardian_canSetRespectedGameTypeUpdatedAt_succeeds(uint64 _elapsed)
648+
/// @dev Tests that the guardian can set the `respectedGameTypeUpdatedAt` timestamp to current timestamp.
649+
function testFuzz_setRespectedGameType_guardianCanSetRespectedGameTypeUpdatedAt_succeeds(uint64 _elapsed)
649650
external
650651
{
651652
_elapsed = uint64(bound(_elapsed, 0, type(uint64).max - uint64(block.timestamp)));

0 commit comments

Comments
 (0)