summaryrefslogtreecommitdiff
path: root/basic/qa/vba_tests
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-05-15 19:06:42 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2017-05-16 05:19:17 +0200
commit666901bc82fab69f9a80b564f97b5456d0ef684e (patch)
treee84b3dbd631580c246f47dfc1f4c43e9f3de1649 /basic/qa/vba_tests
parent774f033f86b3728123842321f21b10b400cf6b9a (diff)
basic: Test VBA's CDec() only on Windows
since it is not implemented on others. Change-Id: If058207eb441caa65f93bbb554fe77cf469b1682 Reviewed-on: https://gerrit.libreoffice.org/37631 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'basic/qa/vba_tests')
-rw-r--r--basic/qa/vba_tests/cdec.vb2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/qa/vba_tests/cdec.vb b/basic/qa/vba_tests/cdec.vb
index 56166cae5a4e..af919a7cbd60 100644
--- a/basic/qa/vba_tests/cdec.vb
+++ b/basic/qa/vba_tests/cdec.vb
@@ -6,7 +6,7 @@ Dim result As String
Function doUnitTest() As String
result = verify_testCDec()
-If failCount <> 0 And passCount > 0 Then
+If failCount <> 0 Or passCount = 0 Then
doUnitTest = result
Else
doUnitTest = "OK"