summaryrefslogtreecommitdiffstats
path: root/basic/qa
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-05-03 16:35:13 +0200
committerEike Rathke <erack@redhat.com>2017-05-03 16:37:50 +0200
commitc52f2780b5983cdbafabfcf97eb6fc2c6d934b51 (patch)
treed2e3d4d03daa845705d2e1ea0975fb809cd0fb69 /basic/qa
parentiOS update due to new icu (diff)
downloadcore-c52f2780b5983cdbafabfcf97eb6fc2c6d934b51.tar.gz
core-c52f2780b5983cdbafabfcf97eb6fc2c6d934b51.zip
Add two digit year test for CDateToIso()
Change-Id: I69f067327504023a2f2439a73cdb1fc6a703aa39
Diffstat (limited to 'basic/qa')
-rw-r--r--basic/qa/basic_coverage/test_cdatetofromiso_methods.vb2
1 files changed, 2 insertions, 0 deletions
diff --git a/basic/qa/basic_coverage/test_cdatetofromiso_methods.vb b/basic/qa/basic_coverage/test_cdatetofromiso_methods.vb
index 7036762743e1..d2f4ce9c7816 100644
--- a/basic/qa/basic_coverage/test_cdatetofromiso_methods.vb
+++ b/basic/qa/basic_coverage/test_cdatetofromiso_methods.vb
@@ -32,6 +32,8 @@ Function doUnitTest as Integer
doUnitTest = 0
ElseIf ( CDateToIso( CDateFromIso("-00011231") ) <> "-00011231" ) Then
doUnitTest = 0
+ ElseIf ( CDateToIso( CDateFromIso("991231") ) <> "19991231" ) Then
+ doUnitTest = 0
Else
doUnitTest = 1
End If