tdf#160478: basic_macros: Add test

Change-Id: Idfb7dd985cf5016c9e643f6201fa313aef324e6b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193196
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
This commit is contained in:
Xisco Fauli
2025-10-30 21:59:47 +01:00
parent 6097e6a5e8
commit 59616c02ab
+1
View File
@@ -34,6 +34,7 @@ Sub verify_testLike()
TestUtil.AssertEqual("a*b" Like "a [*]b", False, "Like9")
TestUtil.AssertEqual("axxxxxb" Like "a [*]b", False, "Like10")
TestUtil.AssertEqual("a [xyz" Like "a [[]*", True, "Like11")
TestUtil.AssertEqual("ab" + Chr(10) + "cd" Like "a*", True, "tdf#160478")
' Invalid pattern
Dim caughtError As Integer
On Error GoTo expectedErrorHandler