Skip to content

Commit

Permalink
update check prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
daejunpark committed Jul 22, 2023
1 parent 5e4201e commit bf76aa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test/Prank.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,14 @@ contract PrankTest is Test {
assert(target.caller() == address(this));
}

function checkPrankConstructor(address user) public {
function check_prank_Constructor(address user) public {
vm.prank(user);
ConstructorRecorder recorder = new ConstructorRecorder();
assert(recorder.caller() == user);
}

// TODO: uncomment when we add CREATE2 support
// function checkPrankConstructorCreate2(address user, bytes32 salt) public {
// function check_prank_ConstructorCreate2(address user, bytes32 salt) public {
// vm.prank(user);
// ConstructorRecorder recorder = new ConstructorRecorder{salt:salt}();
// assert(recorder.caller() == user);
Expand Down

0 comments on commit bf76aa0

Please sign in to comment.