Skip to content

Commit a202e55

Browse files
committed
Legal syntax for precompiler tests
1 parent e922b2c commit a202e55

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
y = Format( "Test '<'")
1+
Attribute VB_Name = "ParsingParenthesis"
2+
3+
Sub TestFormat()
4+
y = Format(DateValue("2025-11-02") + TimeValue("15:14:16"), "yyyy-mm-dd hh:mm:ss")
5+
End Sub
26

37

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
result = Trim("hello")
2-
val = Left("test", 2)
1+
Attribute VB_Name = "TwoFunctionCalls"
2+
3+
Sub TestTwoFunctionCalls()
4+
result = Trim("hello")
5+
val = Left("test", 2)
6+
End Sub

0 commit comments

Comments
 (0)