From 21c89971c31d8f5c14814d2a18749495ed191d8f Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sun, 20 Mar 2016 13:41:59 +0100 Subject: Add more shr HTML rendering tests --- test/data/shr/div-div.html | 1 + test/data/shr/div-div.txt | 2 ++ test/data/shr/div-p.html | 2 +- test/data/shr/li-div.html | 10 ++++++++++ test/data/shr/li-div.txt | 6 ++++++ 5 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 test/data/shr/div-div.html create mode 100644 test/data/shr/div-div.txt create mode 100644 test/data/shr/li-div.html create mode 100644 test/data/shr/li-div.txt (limited to 'test/data/shr') diff --git a/test/data/shr/div-div.html b/test/data/shr/div-div.html new file mode 100644 index 00000000000..1c191ae44d8 --- /dev/null +++ b/test/data/shr/div-div.html @@ -0,0 +1 @@ +
foo
Bar
diff --git a/test/data/shr/div-div.txt b/test/data/shr/div-div.txt new file mode 100644 index 00000000000..62715e12513 --- /dev/null +++ b/test/data/shr/div-div.txt @@ -0,0 +1,2 @@ +foo +Bar diff --git a/test/data/shr/div-p.html b/test/data/shr/div-p.html index 810b2f75e3c..fcbdfc43293 100644 --- a/test/data/shr/div-p.html +++ b/test/data/shr/div-p.html @@ -1 +1 @@ -
foo

Bar +

foo

Bar

diff --git a/test/data/shr/li-div.html b/test/data/shr/li-div.html new file mode 100644 index 00000000000..eca3c511bd9 --- /dev/null +++ b/test/data/shr/li-div.html @@ -0,0 +1,10 @@ + diff --git a/test/data/shr/li-div.txt b/test/data/shr/li-div.txt new file mode 100644 index 00000000000..9fc54f2bdc6 --- /dev/null +++ b/test/data/shr/li-div.txt @@ -0,0 +1,6 @@ +* This is the first paragraph of a list item. + + This is the second paragraph of a list item. + +* This is the first paragraph of a list item. + This is the second paragraph of a list item. -- cgit v1.2.1