From 92f0bf3cd456612f7bf22506b72750678589dc9b Mon Sep 17 00:00:00 2001 From: MathisGD Date: Sat, 17 Feb 2024 13:51:22 +0100 Subject: [PATCH] test: minor improvement --- test/ChainlinkOracleTest.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ChainlinkOracleTest.sol b/test/ChainlinkOracleTest.sol index 4868426..26079af 100644 --- a/test/ChainlinkOracleTest.sol +++ b/test/ChainlinkOracleTest.sol @@ -167,7 +167,7 @@ contract ChainlinkOracleTest is Test { // DAI has 12 more decimals than USDC. uint256 expectedPrice = 10 ** (36 + 12); // Admit a 50% interest gain before breaking this test. - uint256 deviation = 0.66 ether; + uint256 deviation = 0.33 ether; assertApproxEqRel(oracle.price(), expectedPrice, deviation); }