summaryrefslogtreecommitdiff
path: root/basic/qa/vba_tests/cverr.vb
diff options
context:
space:
mode:
Diffstat (limited to 'basic/qa/vba_tests/cverr.vb')
-rw-r--r--basic/qa/vba_tests/cverr.vb2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/qa/vba_tests/cverr.vb b/basic/qa/vba_tests/cverr.vb
index 28c1792e3ecd..02ba4a5905ed 100644
--- a/basic/qa/vba_tests/cverr.vb
+++ b/basic/qa/vba_tests/cverr.vb
@@ -6,7 +6,7 @@ Dim result As String
Function doUnitTest() As String
result = verify_testCVErr()
-If failCount <> 0 And passCount > 0 Then
+If failCount <> 0 Or passCount = 0 Then
doUnitTest = result
Else
doUnitTest = "OK"