basic/qa/basic_coverage/test_cstr_method.bas |    1 +
 basic/qa/vba_tests/cstr.vb                   |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit aa54ea23233a54e32450138a07f2d6d2257149d9
Author:     Andreas Heinisch <andreas.heini...@yahoo.de>
AuthorDate: Mon Feb 14 09:49:17 2022 +0100
Commit:     Andreas Heinisch <andreas.heini...@yahoo.de>
CommitDate: Wed Mar 2 21:42:09 2022 +0100

    Change the comment of the test cases to clarify the textual representation 
of the calculated string
    
    Change-Id: I98478297a577f723864b37514bbd432a6224350d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129844
    Tested-by: Jenkins
    Reviewed-by: Andreas Heinisch <andreas.heini...@yahoo.de>

diff --git a/basic/qa/basic_coverage/test_cstr_method.bas 
b/basic/qa/basic_coverage/test_cstr_method.bas
index 48b27640c275..c2ac003e8c8c 100644
--- a/basic/qa/basic_coverage/test_cstr_method.bas
+++ b/basic/qa/basic_coverage/test_cstr_method.bas
@@ -21,6 +21,7 @@ Sub verify_testCStr
     TestUtil.AssertEqual(CStr(100), "100", "CStr(100)")
 
     ' tdf#143575 - round string to their nearest double representation
+    ' N.B.: check also how current conversion rounds a close number
     ' Without the fix in place, this test would have failed with:
     ' - Expected: 691.2
     ' - Actual  : 691.2000000000001
diff --git a/basic/qa/vba_tests/cstr.vb b/basic/qa/vba_tests/cstr.vb
index dfa77b7db1f0..5eb43738f10c 100644
--- a/basic/qa/vba_tests/cstr.vb
+++ b/basic/qa/vba_tests/cstr.vb
@@ -24,6 +24,7 @@ Sub verify_testCStr()
     TestUtil.AssertEqual(CStr(500), "500",     "CStr(500)")
 
     ' tdf#143575 - round string to their nearest double representation
+    ' N.B.: check also how current conversion rounds a close number
     ' Without the fix in place, this test would have failed with:
     ' - Expected: 691.2
     ' - Actual  : 691.2000000000001

Reply via email to