Skip to content

Commit

Permalink
test: fix GIndex test to use library (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
madlabman authored Feb 7, 2025
1 parent 175fcde commit f560ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/GIndex.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ contract GIndexTest is Test {

function test_concat_RevertsIfTooBigIndices() public {
vm.expectRevert(IndexOutOfRange.selector);
MAX.concat(MAX);
lib.concat(MAX, MAX);

vm.expectRevert(IndexOutOfRange.selector);
lib.concat(pack(2 ** 48, 0), pack(2 ** 200, 0));
Expand Down

0 comments on commit f560ff3

Please sign in to comment.