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