From b7016e6ebb779d029580b1aa043d8107fa84eed0 Mon Sep 17 00:00:00 2001 From: "A.L." Date: Tue, 11 Jun 2024 14:57:45 +0200 Subject: [PATCH] test: fix copy pasta error --- test/large/ReservoirPriceOracleLarge.t.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/large/ReservoirPriceOracleLarge.t.sol b/test/large/ReservoirPriceOracleLarge.t.sol index e276df8..f30898b 100644 --- a/test/large/ReservoirPriceOracleLarge.t.sol +++ b/test/large/ReservoirPriceOracleLarge.t.sol @@ -103,8 +103,8 @@ contract ReservoirPriceOracleLargeTest is ReservoirPriceOracleTest { ? lExpectedAmtBOut * lPrice2 * 10 ** lTokenCDecimal / 10 ** lTokenBDecimal / WAD : lExpectedAmtBOut * WAD * 10 ** lTokenCDecimal / lPrice2 / 10 ** lTokenBDecimal; uint256 lExpectedAmtDOut = lTokenC < lTokenD - ? lExpectedAmtCOut * lPrice2 * 10 ** lTokenDDecimal / 10 ** lTokenCDecimal / WAD - : lExpectedAmtCOut * WAD * 10 ** lTokenDDecimal / lPrice2 / 10 ** lTokenCDecimal; + ? lExpectedAmtCOut * lPrice3 * 10 ** lTokenDDecimal / 10 ** lTokenCDecimal / WAD + : lExpectedAmtCOut * WAD * 10 ** lTokenDDecimal / lPrice3 / 10 ** lTokenCDecimal; assertEq(lAmtDOut, lExpectedAmtDOut); }