From 03e425421b24c4f75e4a3209b019b367847b7708 Mon Sep 17 00:00:00 2001 From: Veliko <2662912+vminkov@users.noreply.github.com> Date: Tue, 5 Jul 2022 20:14:08 +0300 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Make=20bound=20virtual=20(?= =?UTF-8?q?#279)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: t11s --- src/test/utils/DSTestPlus.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/utils/DSTestPlus.sol b/src/test/utils/DSTestPlus.sol index bb1772d4..8a677394 100644 --- a/src/test/utils/DSTestPlus.sol +++ b/src/test/utils/DSTestPlus.sol @@ -149,7 +149,7 @@ contract DSTestPlus is DSTest { uint256 x, uint256 min, uint256 max - ) internal returns (uint256 result) { + ) internal virtual returns (uint256 result) { require(max >= min, "MAX_LESS_THAN_MIN"); uint256 size = max - min;