Skip to content

Commit f70c6cd

Browse files
committed
Fix conditional directive test cases after keywords
1 parent 193f570 commit f70c6cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/testData/sql/formatter/NestedDirectives_format.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ SELECT e.id
1111
/*%end */
1212
/*%end */
1313
WHERE 1 = 1
14-
ORDER BY /*%if sortConditions != null && !sortConditions.isEmpty() */ -- IF1
14+
ORDER BY
15+
/*%if sortConditions != null && !sortConditions.isEmpty() */ -- IF1
1516
/*%for sort : sortConditions */ -- IF2
1617
/*%if sort.field == "name" */ -- IF3
1718
e.name

0 commit comments

Comments
 (0)