summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorAndreas Heinisch <andreas.heinisch@yahoo.de>2022-02-14 09:49:17 +0100
committerAndreas Heinisch <andreas.heinisch@yahoo.de>2022-03-02 21:42:09 +0100
commitaa54ea23233a54e32450138a07f2d6d2257149d9 (patch)
treefb6232840ec1955be5761235227ba4a6221d4673 /basic
parent11ad730e765824ac9b954865e1d5651b6c837b2d (diff)
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.heinisch@yahoo.de>
Diffstat (limited to 'basic')
-rw-r--r--basic/qa/basic_coverage/test_cstr_method.bas1
-rw-r--r--basic/qa/vba_tests/cstr.vb1
2 files changed, 2 insertions, 0 deletions
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