summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-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"