From 498448826d8762add15a524097e91e96b545a631 Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Mon, 13 Oct 2014 14:35:00 +0400 Subject: Parse directives in the form of {directive params}. Parse colons in text. --- test/src/markdown/ParserTest.kt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/src/markdown/ParserTest.kt') diff --git a/test/src/markdown/ParserTest.kt b/test/src/markdown/ParserTest.kt index 20b95625..201708c6 100644 --- a/test/src/markdown/ParserTest.kt +++ b/test/src/markdown/ParserTest.kt @@ -21,6 +21,10 @@ public class ParserTest { runTestFor("text and string") } + Test fun textWithColon() { + runTestFor("text and string: cool!") + } + Test fun link() { runTestFor("text [links]") } @@ -80,6 +84,10 @@ number two runTestFor("*text*") } + Test fun directive() { + runTestFor("A text {code with.another.value} with directive") + } + Test fun emphAndEmptySection() { runTestFor("*text* \$sec:") } -- cgit