From 50003403a8f40b41a69a33c223351577ca6148fe Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Tue, 21 Apr 2026 18:25:25 -0400 Subject: [PATCH] Fix clang-tidy complaint --- src/test/app/Loan_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/app/Loan_test.cpp b/src/test/app/Loan_test.cpp index 5c4cf8e316..b1c189d5f1 100644 --- a/src/test/app/Loan_test.cpp +++ b/src/test/app/Loan_test.cpp @@ -4861,15 +4861,15 @@ protected: // Fee difference rounds evenly test( loanMaximumPaymentsPerTransaction - 10, - (loanMaximumPaymentsPerTransaction - 10) / loanPaymentsPerFeeIncrement - 1, + ((loanMaximumPaymentsPerTransaction - 10) / loanPaymentsPerFeeIncrement) - 1, telINSUF_FEE_P); test( loanMaximumPaymentsPerTransaction - 10, - (loanMaximumPaymentsPerTransaction - 10) / loanPaymentsPerFeeIncrement); + ((loanMaximumPaymentsPerTransaction - 10) / loanPaymentsPerFeeIncrement)); // More fee is always ok test( loanMaximumPaymentsPerTransaction - 10, - (loanMaximumPaymentsPerTransaction - 10) / loanPaymentsPerFeeIncrement + 3); + ((loanMaximumPaymentsPerTransaction - 10) / loanPaymentsPerFeeIncrement) + 3); // Fee rounds up for (int under = 1; under < loanPaymentsPerFeeIncrement; ++under) {