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