lmi-commits
[Top][All Lists]
Advanced

[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"));
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]