Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update test/utils/ShortStrings.t.sol
Co-authored-by: Hadrien Croubois <[email protected]>
  • Loading branch information
balajipachai and Amxx authored Jun 1, 2023
commit c2fbbded6dc33367dff46f9ddc104271d908e55d
2 changes: 1 addition & 1 deletion test/utils/ShortStrings.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ contract ShortStringsTest is Test {

function testRevertLong(string memory input) external {
vm.assume(!_isShort(input));
vm.expectRevert(abi.encodeCall(ShortStrings.StringTooLong, (input)));
vm.expectRevert(abi.encodeWithSelector(ShortStrings.StringTooLong.selector, input));
this.toShortString(input);
}

Expand Down