From a6b7dbe2631d411a40d4efff37973c0ec2e0bc41 Mon Sep 17 00:00:00 2001 From: Paul Razvan Berg Date: Sun, 28 May 2023 14:37:43 +0300 Subject: [PATCH] test: change visibility for logging utils --- test/unit/sd59x18/SD59x18.t.sol | 2 +- test/unit/ud60x18/UD60x18.t.sol | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/sd59x18/SD59x18.t.sol b/test/unit/sd59x18/SD59x18.t.sol index 86fa928..c0ff3d4 100644 --- a/test/unit/sd59x18/SD59x18.t.sol +++ b/test/unit/sd59x18/SD59x18.t.sol @@ -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()); } diff --git a/test/unit/ud60x18/UD60x18.t.sol b/test/unit/ud60x18/UD60x18.t.sol index 165cd74..398bd78 100644 --- a/test/unit/ud60x18/UD60x18.t.sol +++ b/test/unit/ud60x18/UD60x18.t.sol @@ -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()); }