Skip to content

Commit

Permalink
Additional splitter test
Browse files Browse the repository at this point in the history
  • Loading branch information
ScreamingHawk committed Aug 23, 2024
1 parent 6330190 commit a95f787
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/payments/PaymentCombiner.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ contract PaymentCombinerTest is TestHelper, IPaymentCombinerSignals {
assertEq(expectedAddr, actualAddr);
}

function testRepeatedDeploysFail(address[] memory payees, uint256[] memory shares) public {
(payees, shares) = _validArrays(payees, shares);
combiner.deploy(payees, shares);

vm.expectRevert();
combiner.deploy(payees, shares);
}

function testListPayeeSplitters(
address[] memory payees1,
address[] memory payees2,
Expand Down

0 comments on commit a95f787

Please sign in to comment.