You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
399 B
Solidity

2 years ago
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import "forge-std/Test.sol";
import "../src/SendIt.sol";
contract SendItTest is Test {
SendIt public sendit;
function setUp() public {
sendit = new SendIt();
}
function testUpdateVault() public {
sendit.updateVault(address(3));
assertEq(sendit.addressVault(address(0)), address(3));
}
}