Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
pysel committed Feb 7, 2023
1 parent fa3ed28 commit 04be5ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/poolmanager/router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1066,8 +1066,8 @@ func (suite *KeeperTestSuite) TestMultihopEstimateOutGivenExactAmountIn() {
suite.Require().NotPanics(func() {
poolmanagerKeeper.MultihopEstimateOutGivenExactAmountIn(suite.Ctx, test.multihopCase.routes, test.multihopCase.tokenIn)
}, "panic in test %v", testName)
suite.Require().Equal(test.expectedError, actualErr, "unexpected error in test %v", testName)
suite.Require().Equal(sdk.Int{}, tokenOutAmount, "unexpected tokenOutAmount in test %v", testName)
suite.Require().Equal(test.expectedError, actualErr, "unexpected error in test <%v>", testName)
suite.Require().Equal(sdk.Int{}, tokenOutAmount, "unexpected tokenOutAmount in test <%v>", testName)
}
}

Expand Down

0 comments on commit 04be5ff

Please sign in to comment.