We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfdade6 commit 9ce26d3Copy full SHA for 9ce26d3
quarkdown-test/src/test/kotlin/com/quarkdown/test/FunctionCallTest.kt
@@ -145,6 +145,13 @@ class FunctionCallTest {
145
}
146
147
148
+ @Test
149
+ fun `malformed nameless function does not parse`() {
150
+ execute(".") { assertEquals("<p>.</p>", it) }
151
+ execute("abc . def") { assertEquals("<p>abc . def</p>", it) }
152
+ execute(". {def}") { assertEquals("<p>. {def}</p>", it) }
153
+ }
154
+
155
@Test
156
fun `identity function chain`() {
157
execute(".{10}::multiply {2}::sum {5}") {
0 commit comments