From 149b687ee72b27857dd44bdd68fa5ab28fac09a6 Mon Sep 17 00:00:00 2001 From: Emanuil Rusev Date: Fri, 17 Jan 2014 01:25:41 +0200 Subject: [PATCH] improve tests --- tests/data/atx_heading.html | 3 ++- tests/data/atx_heading.md | 4 +++- tests/data/tab-indented_code_block.html | 6 ++++++ tests/data/tab-indented_code_block.md | 6 ++++++ 4 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 tests/data/tab-indented_code_block.html create mode 100644 tests/data/tab-indented_code_block.md diff --git a/tests/data/atx_heading.html b/tests/data/atx_heading.html index 449c44d..6c9b38e 100644 --- a/tests/data/atx_heading.html +++ b/tests/data/atx_heading.html @@ -4,4 +4,5 @@

h4

h5
h6
-

closed h1

\ No newline at end of file +

closed h1

+

#

\ No newline at end of file diff --git a/tests/data/atx_heading.md b/tests/data/atx_heading.md index d261f67..2d5c6ca 100644 --- a/tests/data/atx_heading.md +++ b/tests/data/atx_heading.md @@ -10,4 +10,6 @@ ###### h6 -# closed h1 # \ No newline at end of file +# closed h1 # + +# \ No newline at end of file diff --git a/tests/data/tab-indented_code_block.html b/tests/data/tab-indented_code_block.html new file mode 100644 index 0000000..0331c25 --- /dev/null +++ b/tests/data/tab-indented_code_block.html @@ -0,0 +1,6 @@ +
<?php
+
+$message = 'Hello World!'; 
+echo $message;
+
+echo "following a blank line";
\ No newline at end of file diff --git a/tests/data/tab-indented_code_block.md b/tests/data/tab-indented_code_block.md new file mode 100644 index 0000000..a2087ae --- /dev/null +++ b/tests/data/tab-indented_code_block.md @@ -0,0 +1,6 @@ +