Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinclancy committed Jul 6, 2023
1 parent 8ad2869 commit 9423e80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/slithir/test_data/ternary_expressions.sol
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ contract D {
}

function a(uint n) external {
(uint a,) = values(n > 0 ? 1 : 0);
uint a;
(a,) = values(n > 0 ? 1 : 0);
}
}

0 comments on commit 9423e80

Please sign in to comment.