[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 9cc560d 8/8: Fix defect introduced 20210303T1
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 9cc560d 8/8: Fix defect introduced 20210303T1108Z: misalignment |
Date: |
Mon, 8 Mar 2021 11:19:47 -0500 (EST) |
branch: master
commit 9cc560d8bf84e2b9a5e2ead08512e90f54acc090
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Fix defect introduced 20210303T1108Z: misalignment
Commit 5281a36ac3793de of 20210303T1108Z replaced
- BOOST_TEST_EQUAL
+ LMI_TEST_EQUAL
but failed to realign two comment lines that counted decimals.
---
rate_table_test.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rate_table_test.cpp b/rate_table_test.cpp
index a0794d5..e4f2bee 100644
--- a/rate_table_test.cpp
+++ b/rate_table_test.cpp
@@ -452,7 +452,7 @@ void test_copy()
void test_decimal_deduction()
{
- // 1 234567890123456
+ // 1 234567890123456
LMI_TEST_EQUAL( 9, deduce_number_of_decimals("0002.123456789000001"));
LMI_TEST_EQUAL( 8, deduce_number_of_decimals("0002.123456789999991"));
@@ -471,7 +471,7 @@ void test_decimal_deduction()
LMI_TEST_EQUAL( 0, deduce_number_of_decimals(" 1 "));
LMI_TEST_EQUAL( 0, deduce_number_of_decimals(" 9 "));
- // 123456789012345678
+ // 123456789012345678
LMI_TEST_EQUAL( 5, deduce_number_of_decimals("0.012830000000000001"));
}
- [lmi-commits] [lmi] master updated (0ec5f1b -> 9cc560d), Greg Chicares, 2021/03/08
- [lmi-commits] [lmi] master 88f799c 6/8: Avoid using gcc-specific warnings with clang, Greg Chicares, 2021/03/08
- [lmi-commits] [lmi] master d126046 5/8: Disable clang -Wbraced-scalar-init in a test, Greg Chicares, 2021/03/08
- [lmi-commits] [lmi] master 9cc560d 8/8: Fix defect introduced 20210303T1108Z: misalignment,
Greg Chicares <=
- [lmi-commits] [lmi] master 71238a3 4/8: Disable clang tautological constant compare warning in a test, Greg Chicares, 2021/03/08
- [lmi-commits] [lmi] master 0dda3f5 2/8: Disable clang -Wself-assign-overloaded warning in date test, Greg Chicares, 2021/03/08
- [lmi-commits] [lmi] master fc767f7 3/8: Include <cmath> to get std::rint() declaration, not <math.h>, Greg Chicares, 2021/03/08
- [lmi-commits] [lmi] master 33a1270 1/8: Remove tests involving std::mem_fun, Greg Chicares, 2021/03/08
- [lmi-commits] [lmi] master f5d41a0 7/8: Replace raw string literals, Greg Chicares, 2021/03/08