From b22dd1a1dd222c10c4ef65b706d55956427ee3fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Cie=C5=9Blak?= Date: Fri, 13 Sep 2013 20:50:28 +0200 Subject: [PATCH] Issue #41: Add test for backquote alone on the line Backquotes are handled properly by the MarkdownPapers, only backquote standing alone on a line is not converted into a corresponding `` block. --- .../java/org/tautua/markdownpapers/MarkdownPapersTest.java | 1 + core/src/test/resources/others/backquoteAlone.html | 3 +++ core/src/test/resources/others/backquoteAlone.text | 3 +++ 3 files changed, 7 insertions(+) create mode 100644 core/src/test/resources/others/backquoteAlone.html create mode 100644 core/src/test/resources/others/backquoteAlone.text diff --git a/core/src/test/java/org/tautua/markdownpapers/MarkdownPapersTest.java b/core/src/test/java/org/tautua/markdownpapers/MarkdownPapersTest.java index 93ff71d..f5ca950 100644 --- a/core/src/test/java/org/tautua/markdownpapers/MarkdownPapersTest.java +++ b/core/src/test/java/org/tautua/markdownpapers/MarkdownPapersTest.java @@ -33,6 +33,7 @@ public MarkdownPapersTest(String fileName) { @Parameters public static List data() throws FileNotFoundException { return Arrays.asList(new Object[][]{ + {"backquoteAlone"}, {"code"}, {"comments"}, {"emphasis"}, diff --git a/core/src/test/resources/others/backquoteAlone.html b/core/src/test/resources/others/backquoteAlone.html new file mode 100644 index 0000000..8344d56 --- /dev/null +++ b/core/src/test/resources/others/backquoteAlone.html @@ -0,0 +1,3 @@ +

+Quote alone +

diff --git a/core/src/test/resources/others/backquoteAlone.text b/core/src/test/resources/others/backquoteAlone.text new file mode 100644 index 0000000..bf4313a --- /dev/null +++ b/core/src/test/resources/others/backquoteAlone.text @@ -0,0 +1,3 @@ +` +Quote alone +`