[Libreoffice-commits] core.git: basic/qa

Zdeněk Crhonek zcrhonek at gmail.com
Wed Dec 6 11:05:31 UTC 2017


 basic/qa/vba_tests/iserror.vb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 86393f03702fd4c695612754fa89f80dac69eab9
Author: Zdeněk Crhonek <zcrhonek at gmail.com>
Date:   Wed Dec 6 08:17:28 2017 +0100

    VBA test - iserror function test repair, tdf#114232
    
    Change-Id: I924713f360a41fa5b269468fdf771df6a50df44b
    Reviewed-on: https://gerrit.libreoffice.org/45923
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Zdenek Crhonek <zcrhonek at gmail.com>

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"


More information about the Libreoffice-commits mailing list