Skip to content

Commit

Permalink
Base test
Browse files Browse the repository at this point in the history
  • Loading branch information
BCLeFevre committed Mar 27, 2024
1 parent 1bfd004 commit 0e603ba
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/foundry/TestTstorish.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@ import {Tstorish} from "../../src/Tstorish.sol";
contract TestTstorish is Test {
Tstorish tstorish;

function setUp() public override {
function setUp() public {
_deployTstorish();
}

function _deployTstorish() private {
tstorish = new Tstorish();
}

function testActivateTstore() public {
vm.expectRevert(abi.encodeWithSignature("TStoreAlreadyActivated()"));
tstorish.__activateTstore();
}
}

0 comments on commit 0e603ba

Please sign in to comment.