Skip to content

Commit

Permalink
test: change visibility for logging utils
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed May 28, 2023
1 parent 962712c commit a6b7dbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/unit/sd59x18/SD59x18.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ abstract contract SD59x18_Unit_Test is Base_Test {
CONSTANT HELPER FUNCTIONS
//////////////////////////////////////////////////////////////////////////*/

function logSd(SD59x18 p0) internal view {
function logSd(SD59x18 p0) internal pure {
console2.logInt(p0.unwrap());
}

Expand Down
4 changes: 2 additions & 2 deletions test/unit/ud60x18/UD60x18.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ abstract contract UD60x18_Unit_Test is Base_Test {
CONSTANT HELPER FUNCTIONS
//////////////////////////////////////////////////////////////////////////*/

function log(string memory p0, UD60x18 p1) internal view {
function log(string memory p0, UD60x18 p1) internal pure {
console2.log(p0, p1.unwrap());
}

function logUd(UD60x18 p0) internal view {
function logUd(UD60x18 p0) internal pure {
console2.logUint(p0.unwrap());
}

Expand Down

0 comments on commit a6b7dbe

Please sign in to comment.