Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 024220d

Browse files
SQLcl 23.4.0 does not throw a syntax error anymore - fixed expectation
1 parent b6bd9e1 commit 024220d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

standalone/src/test/java/com/trivadis/plsql/formatter/settings/tests/issues/Issue_150_define.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ public void set_define_after_at_command() {
2323
// Same behavior with START as with @.
2424
// Fixed in SQLDev 21.4.0.
2525
// Syntax error in SQLcl 23.1.0
26+
// Fixed in SQLcl 24.0.0
2627
var sql = """
2728
define table_folder = 'table'
2829
set define on
2930
@./demo/&&table_folder/drop_demo_tables.sql
3031
set define off
3132
""";
32-
Assertions.assertThrows(SyntaxError.class, () -> formatAndAssert(sql));
33+
formatAndAssert(sql);
3334
}
3435

3536
@Test

0 commit comments

Comments
 (0)