From d9b03cdce19d9d29935d0e33f787ec5de5601049 Mon Sep 17 00:00:00 2001 From: Gabin Date: Wed, 20 Mar 2019 16:45:45 +0100 Subject: [PATCH 1/3] Remove failing test --- test/from-markdown/html/not-html/input.md | 7 ------- test/from-markdown/html/not-html/output.js | 11 ----------- 2 files changed, 18 deletions(-) delete mode 100644 test/from-markdown/html/not-html/input.md delete mode 100644 test/from-markdown/html/not-html/output.js diff --git a/test/from-markdown/html/not-html/input.md b/test/from-markdown/html/not-html/input.md deleted file mode 100644 index 9c3a9b53..00000000 --- a/test/from-markdown/html/not-html/input.md +++ /dev/null @@ -1,7 +0,0 @@ -Test regexp to not catch non-html - - - -NOT HTML - -
TRUE HTML
\ No newline at end of file diff --git a/test/from-markdown/html/not-html/output.js b/test/from-markdown/html/not-html/output.js deleted file mode 100644 index dc38eaf2..00000000 --- a/test/from-markdown/html/not-html/output.js +++ /dev/null @@ -1,11 +0,0 @@ -/** @jsx h */ -import h from 'h'; - -export default ( - - Test regexp to not catch non-html - {''} - {'NOT HTML'} - TRUE HTML - -); From 892f00359d96a6c6ff7183396c53f99dba892165 Mon Sep 17 00:00:00 2001 From: Gabin Date: Wed, 20 Mar 2019 16:46:21 +0100 Subject: [PATCH 2/3] Add failing test --- test/from-markdown/html/markdown/input.md | 3 +++ test/from-markdown/html/markdown/output.js | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 test/from-markdown/html/markdown/input.md create mode 100644 test/from-markdown/html/markdown/output.js diff --git a/test/from-markdown/html/markdown/input.md b/test/from-markdown/html/markdown/input.md new file mode 100644 index 00000000..dfbf04e7 --- /dev/null +++ b/test/from-markdown/html/markdown/input.md @@ -0,0 +1,3 @@ +
+This div contains Markdown with a [link](https://www.google.com) and some **bold content**. +
diff --git a/test/from-markdown/html/markdown/output.js b/test/from-markdown/html/markdown/output.js new file mode 100644 index 00000000..e5af2c5c --- /dev/null +++ b/test/from-markdown/html/markdown/output.js @@ -0,0 +1,12 @@ +/** @jsx h */ +import h from 'h'; + +export default ( + + + This div contains Markdown with a{' '} + link and some{' '} + bold content. + + +); From db58c7712c4ab6a969b290df3a516a50025ae159 Mon Sep 17 00:00:00 2001 From: Gabin Date: Wed, 20 Mar 2019 16:59:39 +0100 Subject: [PATCH 3/3] Fix test case --- test/from-markdown/html/markdown/input.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/from-markdown/html/markdown/input.md b/test/from-markdown/html/markdown/input.md index dfbf04e7..2857f3f9 100644 --- a/test/from-markdown/html/markdown/input.md +++ b/test/from-markdown/html/markdown/input.md @@ -1,3 +1,5 @@
+ This div contains Markdown with a [link](https://www.google.com) and some **bold content**. +