Skip to content

Commit

Permalink
fix: run forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sujithsomraaj committed Oct 12, 2023
1 parent 8e52d53 commit f9e668c
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ contract StringAddressConversionTest is Test {
string memory result = conversionHelper.toString(testAddr);
string memory expected = "0x1234567890123456789012345678901234567890";

assertEq(
keccak256(bytes(result)), keccak256(bytes(expected))
);
assertEq(keccak256(bytes(result)), keccak256(bytes(expected)));
}

/// @dev tests conversion of string to address
Expand All @@ -51,7 +49,7 @@ contract StringAddressConversionTest is Test {
address result = conversionHelper.toAddress(testString);
address expected = address(0x1234567890123456789012345678901234567890);

assertEq(result,expected);
assertEq(result, expected);
}

/// @dev tests invalid address conversion
Expand Down Expand Up @@ -105,7 +103,7 @@ contract StringAddressConversionTest is Test {
address result = conversionHelper.toAddress(testString);
address expected = address(0xABcdEFABcdEFabcdEfAbCdefabcdeFABcDEFabCD);

assertEq(result,expected);
assertEq(result, expected);
}

/// @dev tests conversion of string with uppercase hex characters to address
Expand Down

0 comments on commit f9e668c

Please sign in to comment.