From c9f5708bd5bc263527a4893542d3a0668a19a065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vytautas=20=C5=A0altenis?= Date: Tue, 20 Oct 2015 20:31:08 +0300 Subject: [PATCH] Spread out test cases for readability --- block_test.go | 2 ++ inline_test.go | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/block_test.go b/block_test.go index 86089e7..a78a7d5 100644 --- a/block_test.go +++ b/block_test.go @@ -1408,8 +1408,10 @@ func TestBlockComments(t *testing.T) { var tests = []string{ "Some text\n\n\n", "

Some text

\n\n\n", + "Some text\n\n\n", "

Some text

\n\n\n", + "Some text\n\n\n", "

Some text

\n\n\n", } diff --git a/inline_test.go b/inline_test.go index 72fbf8d..ff0e489 100644 --- a/inline_test.go +++ b/inline_test.go @@ -977,18 +977,25 @@ func TestInlineComments(t *testing.T) { var tests = []string{ "Hello \n", "

Hello

\n", + "Hello ", "

Hello

\n", + "Hello \n", "

Hello

\n", + "Hello \na", "

Hello \na

\n", + "* list \n", "\n", + " comment\n", "

comment

\n", + "blahblah\n\nrhubarb\n", "

blahblah\n\nrhubarb

\n", }