summaryrefslogtreecommitdiff
path: root/basic/qa/vba_tests/instrrev.vb
diff options
context:
space:
mode:
authorZdeněk Crhonek <zcrhonek@gmail.com>2017-12-02 15:55:07 +0100
committerZdenek Crhonek <zcrhonek@gmail.com>2017-12-02 22:47:50 +0100
commit2bfbe3492d443c31c83b830df3f95fad76a58d67 (patch)
treeb73a3d5070b68e7df6810f1128eac5be22e9050b /basic/qa/vba_tests/instrrev.vb
parentbd7776f96358b4e868f4f64b793a63c5d5d82499 (diff)
VBA tests repair (2) - don't pass the test when all tests fail
Change-Id: I2519fc54e2ce74ec3c6777aa002971548a21c3c6 Reviewed-on: https://gerrit.libreoffice.org/45715 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
Diffstat (limited to 'basic/qa/vba_tests/instrrev.vb')
-rw-r--r--basic/qa/vba_tests/instrrev.vb2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/qa/vba_tests/instrrev.vb b/basic/qa/vba_tests/instrrev.vb
index dfbed9ad239b..7fe02cd60617 100644
--- a/basic/qa/vba_tests/instrrev.vb
+++ b/basic/qa/vba_tests/instrrev.vb
@@ -6,7 +6,7 @@ Dim result As String
Function doUnitTest() As String
result = verify_testInStrRev()
-If failCount <> 0 And passCount > 0 Then
+If failCount <> 0 or passCount = 0 Then
doUnitTest = result
Else
doUnitTest = "OK"