From 51e97fd1410488d35318ec788160699e6e439f6f Mon Sep 17 00:00:00 2001 From: Federico Soave Date: Tue, 18 Sep 2018 21:59:51 +0200 Subject: [PATCH] add tests from #1307, #1327, and #1337 --- test/specs/marked/marked.json | 50 ++++++++++++++++++++++------------- 1 file changed, 31 insertions(+), 19 deletions(-) diff --git a/test/specs/marked/marked.json b/test/specs/marked/marked.json index 1cb3a2a8dd..5332e494d8 100644 --- a/test/specs/marked/marked.json +++ b/test/specs/marked/marked.json @@ -1,22 +1,4 @@ [ - { - "section": "Autolinks", - "markdown": "(See https://www.example.com/fhqwhgads.)", - "html": "

(See https://www.example.com/fhqwhgads.)

", - "example": 10 - }, - { - "section": "Autolinks", - "markdown": "((http://foo.com))", - "html": "

((http://foo.com))

", - "example": 11 - }, - { - "section": "Autolinks", - "markdown": "((http://foo.com.))", - "html": "

((http://foo.com.))

", - "example": 12 - }, { "section": "Code spans", "markdown": "`someone@example.com`", @@ -76,5 +58,35 @@ "markdown": "Link: [constructor][].\n\n[constructor]: https://example.org/", "html": "

Link: constructor.

", "example": 10 + }, + { + "section": "Autolinks", + "markdown": "(See https://www.example.com/fhqwhgads.)", + "html": "

(See https://www.example.com/fhqwhgads.)

", + "example": 11 + }, + { + "section": "Autolinks", + "markdown": "((http://foo.com))", + "html": "

((http://foo.com))

", + "example": 12 + }, + { + "section": "Autolinks", + "markdown": "((http://foo.com.))", + "html": "

((http://foo.com.))

", + "example": 13 + }, + { + "section": "Autolinks", + "markdown": "~~hello@email.com~~", + "html": "

hello@email.com

", + "example": 1307 + }, + { + "section": "Autolinks", + "markdown": "**me@example.com**", + "html": "

me@example.com

", + "example": 1327 } -] +] \ No newline at end of file