Skip to content

Commit

Permalink
Added two failing procedure tests to illustrate bug TiddlyWiki#3460
Browse files Browse the repository at this point in the history
  • Loading branch information
btheado committed Dec 26, 2023
1 parent c316894 commit 00696d2
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
title: Procedures/WhitespaceOnlyWithEnd
description: The /end should be detected when procedure definition contains only whitespace
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]

title: Output

\procedure max()
\end
Nothing
\end

Out: <<max>>
+
title: ExpectedResult

<p>Nothing
\end</p><p>Out: </p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
title: Procedures/WhitespaceOnlyWithEnd2
description: Line with \end can start with whitespace
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]

title: Output

\procedure empty()
\end

Out: <<empty>>
+
title: ExpectedResult

<p>Out: </p>

0 comments on commit 00696d2

Please sign in to comment.