diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-08-04 12:04:20 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-08-04 15:34:24 +0200 |
commit | e59780c1e0670c4a79bd465da08d5cf51d421f62 (patch) | |
tree | a7e7a13350a6be6514f72ff02f35a3a47cb3dadd /basic | |
parent | ade2c454c2856f727e877207dfc4f7840acd4d7b (diff) |
Reduce differences between _test_asserts.bas and _test_asserts.vb
Change-Id: Ic546f6454f2b8581300320e1690644152d44eb83
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155341
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/qa/cppunit/_test_asserts.bas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/qa/cppunit/_test_asserts.bas b/basic/qa/cppunit/_test_asserts.bas index 68865755bdcd..0c3e0b371f14 100644 --- a/basic/qa/cppunit/_test_asserts.bas +++ b/basic/qa/cppunit/_test_asserts.bas @@ -54,8 +54,8 @@ End Sub ' Same as AssertEqual, but also checks actual and expected types Sub AssertEqualStrict(actual As Variant, expected As Variant, testName As String) - AssertEqual(actual, expected, testName) - AssertEqual(TypeName(actual), TypeName(expected), testName & " type mismatch:") + AssertEqual actual, expected, testName + AssertEqual TypeName(actual), TypeName(expected), testName & " type mismatch:" End Sub Sub AssertEqualApprox(actual, expected, epsilon, testName As String) |