Skip to content

Commit

Permalink
test: minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Feb 17, 2024
1 parent df4950a commit 92f0bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ChainlinkOracleTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 92f0bf3

Please sign in to comment.