mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Switch to CommonMarkStrict tests
This commit is contained in:
parent
a2bca78f7e
commit
f2f7433dcf
@ -37,6 +37,7 @@
|
|||||||
"test-static": "vendor/bin/psalm",
|
"test-static": "vendor/bin/psalm",
|
||||||
"test-dead-code": "vendor/bin/psalm --find-dead-code",
|
"test-dead-code": "vendor/bin/psalm --find-dead-code",
|
||||||
"test-units": "vendor/bin/phpunit",
|
"test-units": "vendor/bin/phpunit",
|
||||||
|
"test-commonmark": "vendor/bin/phpunit tests/CommonMarkTestStrict.php",
|
||||||
"test-commonmark-weak": "vendor/bin/phpunit tests/CommonMarkTestWeak.php",
|
"test-commonmark-weak": "vendor/bin/phpunit tests/CommonMarkTestWeak.php",
|
||||||
"test-formatting": "@composer fix -- --dry-run",
|
"test-formatting": "@composer fix -- --dry-run",
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ namespace Erusev\Parsedown\Tests;
|
|||||||
*
|
*
|
||||||
* @link http://commonmark.org/ CommonMark
|
* @link http://commonmark.org/ CommonMark
|
||||||
*/
|
*/
|
||||||
class CommonMarkTest extends CommonMarkTestWeak
|
class CommonMarkTest extends CommonMarkTestStrict
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @return array
|
* @return array
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
<blockquote>
|
|
||||||
<div>
|
|
||||||
foo
|
|
||||||
</blockquote>
|
|
||||||
<p>bar</p>
|
|
@ -1,4 +0,0 @@
|
|||||||
> <div>
|
|
||||||
> foo
|
|
||||||
|
|
||||||
bar
|
|
@ -1,6 +0,0 @@
|
|||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<div>
|
|
||||||
</li>
|
|
||||||
<li>foo</li>
|
|
||||||
</ul>
|
|
@ -1,2 +0,0 @@
|
|||||||
- <div>
|
|
||||||
- foo
|
|
@ -1,11 +0,0 @@
|
|||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<p>a</p>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<p>b</p>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<p>d</p>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
@ -1,5 +0,0 @@
|
|||||||
- a
|
|
||||||
- b
|
|
||||||
|
|
||||||
[ref]: /url
|
|
||||||
- d
|
|
Loading…
Reference in New Issue
Block a user