summaryrefslogtreecommitdiff
path: root/basic/qa
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2016-01-26 20:56:11 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-02-17 08:53:33 +0000
commitd977a49ef0fb5377379dbb7516cad3ee8ecead41 (patch)
tree2506a9b63b81596fede376ba4ebc78eedbe070f8 /basic/qa
parent2c02986b76f26d6f09d5b1f9d209879bfa427ea1 (diff)
tdf#40517 Unit test for question marks in number format
Unit test for https://gerrit.libreoffice.org/21021/ Add unit test for Engineering format Add unit test for optional sign in exponent Change-Id: I958ccdcc68a4e496cbd4bdc74d0650c133f3a3f7 Reviewed-on: https://gerrit.libreoffice.org/21824 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'basic/qa')
-rw-r--r--basic/qa/vba_tests/format.vb4
1 files changed, 4 insertions, 0 deletions
diff --git a/basic/qa/vba_tests/format.vb b/basic/qa/vba_tests/format.vb
index ce28378f04de..b12596a55d71 100644
--- a/basic/qa/vba_tests/format.vb
+++ b/basic/qa/vba_tests/format.vb
@@ -348,6 +348,10 @@ Sub Custom_Number_Format_Sample()
TestLog_ASSERT TestStr = ".25%", "##.###\%: " & TestStr
'MsgBox TestStr
+ TestStr = Format(12.25, "0.???") '12.25_
+ TestLog_ASSERT TestStr = "12.25 ", "0.???: " & TestStr
+ 'MsgBox TestStr
+
Exit Sub
errorHandler:
TestLog_ASSERT (false), testName & ": hit error handler"