Skip to content

Commit

Permalink
test: fix direction of inequality
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael authored and Michael committed Feb 20, 2025
1 parent a1b5319 commit ca547db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/integration/IntegrationChecks.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ contract IntegrationCheckUtils is IntegrationBase {
for (uint i = 0; i < strategies.length; i++) {
(OperatorSet[] memory operatorSets, Allocation[] memory allocations) = _getStrategyAllocations(operator, strategies[i]);
for (uint j = 0; j < operatorSets.length; j++) {
if (allocations[j].currentMagnitude < 0) {
if (allocations[j].currentMagnitude > 0) {
assert_Snap_StakeBecameSlashable(operator, operatorSets[j], strategies[i].toArray(), "allocated strategies should have minSlashableStake increased");
}
}
Expand Down

0 comments on commit ca547db

Please sign in to comment.