Skip to content

Commit a6b7dbe

Browse files
committed
test: change visibility for logging utils
1 parent 962712c commit a6b7dbe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/unit/sd59x18/SD59x18.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ abstract contract SD59x18_Unit_Test is Base_Test {
6464
CONSTANT HELPER FUNCTIONS
6565
//////////////////////////////////////////////////////////////////////////*/
6666

67-
function logSd(SD59x18 p0) internal view {
67+
function logSd(SD59x18 p0) internal pure {
6868
console2.logInt(p0.unwrap());
6969
}
7070

test/unit/ud60x18/UD60x18.t.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ abstract contract UD60x18_Unit_Test is Base_Test {
5858
CONSTANT HELPER FUNCTIONS
5959
//////////////////////////////////////////////////////////////////////////*/
6060

61-
function log(string memory p0, UD60x18 p1) internal view {
61+
function log(string memory p0, UD60x18 p1) internal pure {
6262
console2.log(p0, p1.unwrap());
6363
}
6464

65-
function logUd(UD60x18 p0) internal view {
65+
function logUd(UD60x18 p0) internal pure {
6666
console2.logUint(p0.unwrap());
6767
}
6868

0 commit comments

Comments
 (0)