Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
malteish committed Sep 11, 2024
1 parent b4e99af commit f8a6013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/TimeLockController.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ contract EscrowTest is Test {
}

function test_RandoCanNotTransfer(address rando) public {
vm.assume(rando != roofAccount && rando != platformColdAccount);
vm.assume(rando != roofAccount && rando != platformColdAccount && rando != address(timelock));
assertEq(token.balanceOf(rando), 0, "rando should have 0 tokens");
vm.prank(rando);
vm.expectRevert();
Expand Down

0 comments on commit f8a6013

Please sign in to comment.