From 3fec934e5dd6afc14ef9dc0d38b4e94b913c66ad Mon Sep 17 00:00:00 2001 From: David Tooke Date: Fri, 9 Oct 2026 16:09:09 -0400 Subject: [PATCH] Re-enable fmt's test that a blank line after a comment is kept DarkCollective/relix-core#107 made the engine's printer keep a blank line between a comment and the statement or namespace after it, so FmtTest.Layout.blankAfterComment runs again: "-- header", a blank line, "namespace demo;", then a comment set apart from its query the same way, format to themselves. --- .../java/com/darkcollective/relix/cli/command/FmtTest.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/test/java/com/darkcollective/relix/cli/command/FmtTest.java b/src/test/java/com/darkcollective/relix/cli/command/FmtTest.java index 281e423..208cfc4 100644 --- a/src/test/java/com/darkcollective/relix/cli/command/FmtTest.java +++ b/src/test/java/com/darkcollective/relix/cli/command/FmtTest.java @@ -19,7 +19,6 @@ import com.darkcollective.relix.cli.Examples; import com.darkcollective.relix.embed.Relix; import com.darkcollective.relix.lang.ast.ScriptPrinter; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; @@ -197,8 +196,6 @@ void rowComment() { } @Test - @Disabled("the engine's ScriptPrinter drops a blank line between a comment and the " - + "statement or namespace after it (DarkCollective/relix-core#99 follow-up)") @DisplayName("keeps a blank line between a comment and what follows it") void blankAfterComment() { String text = "-- header\n\nnamespace demo;\n-- about N\n\nquery N;\n";