Skip to content

Commit

Permalink
test: update VmTest for the new interface id
Browse files Browse the repository at this point in the history
  • Loading branch information
boolafish committed Oct 10, 2024
1 parent 8a225d8 commit 5f3e734
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Vm.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import {Vm, VmSafe} from "../src/Vm.sol";
// added to or removed from Vm or VmSafe.
contract VmTest is Test {
function test_VmInterfaceId() public pure {
assertEq(type(Vm).interfaceId, bytes4(0x35457718), "Vm");
assertEq(type(Vm).interfaceId, bytes4(0x329891d9), "Vm");
}

function test_VmSafeInterfaceId() public pure {
assertEq(type(VmSafe).interfaceId, bytes4(0x681d10d4), "VmSafe");
assertEq(type(VmSafe).interfaceId, bytes4(0x04f0cf87), "VmSafe");
}
}

0 comments on commit 5f3e734

Please sign in to comment.