Switch to CommonMarkStrict tests

This commit is contained in:
Aidan Woods 2019-01-28 20:35:34 +00:00
parent a2bca78f7e
commit f2f7433dcf
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9
8 changed files with 2 additions and 34 deletions

View File

@ -37,6 +37,7 @@
"test-static": "vendor/bin/psalm",
"test-dead-code": "vendor/bin/psalm --find-dead-code",
"test-units": "vendor/bin/phpunit",
"test-commonmark": "vendor/bin/phpunit tests/CommonMarkTestStrict.php",
"test-commonmark-weak": "vendor/bin/phpunit tests/CommonMarkTestWeak.php",
"test-formatting": "@composer fix -- --dry-run",

View File

@ -22,7 +22,7 @@ namespace Erusev\Parsedown\Tests;
*
* @link http://commonmark.org/ CommonMark
*/
class CommonMarkTest extends CommonMarkTestWeak
class CommonMarkTest extends CommonMarkTestStrict
{
/**
* @return array

View File

@ -1,5 +0,0 @@
<blockquote>
<div>
foo
</blockquote>
<p>bar</p>

View File

@ -1,4 +0,0 @@
> <div>
> foo
bar

View File

@ -1,6 +0,0 @@
<ul>
<li>
<div>
</li>
<li>foo</li>
</ul>

View File

@ -1,2 +0,0 @@
- <div>
- foo

View File

@ -1,11 +0,0 @@
<ul>
<li>
<p>a</p>
</li>
<li>
<p>b</p>
</li>
<li>
<p>d</p>
</li>
</ul>

View File

@ -1,5 +0,0 @@
- a
- b
[ref]: /url
- d