summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorZdeněk Crhonek <zcrhonek@gmail.com>2017-12-06 08:17:28 +0100
committerZdenek Crhonek <zcrhonek@gmail.com>2017-12-06 12:03:22 +0100
commit86393f03702fd4c695612754fa89f80dac69eab9 (patch)
tree466d72fa398ab51abf999ef7c2dc0be471f4f239 /basic
parent2eae1d741ebdc1e2ce1e512960e8152e178e0150 (diff)
VBA test - iserror function test repair, tdf#114232
Change-Id: I924713f360a41fa5b269468fdf771df6a50df44b Reviewed-on: https://gerrit.libreoffice.org/45923 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/qa/vba_tests/iserror.vb2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/qa/vba_tests/iserror.vb b/basic/qa/vba_tests/iserror.vb
index 943b4dcc2c10..d1a9b2d857af 100644
--- a/basic/qa/vba_tests/iserror.vb
+++ b/basic/qa/vba_tests/iserror.vb
@@ -6,7 +6,7 @@ Dim result As String
Function doUnitTest() As String
result = verify_testIsError()
-If failCount <> 0 And passCount > 0 Then
+If failCount <> 0 or passCount = 0 Then
doUnitTest = result
Else
doUnitTest = "OK"