diff --git a/tests/IntegrationTest.php b/tests/IntegrationTest.php index 6bbc8fd..5bf3cf7 100644 --- a/tests/IntegrationTest.php +++ b/tests/IntegrationTest.php @@ -260,6 +260,10 @@ public function parserUnitBlockProvider() 'blockName' => 'code-blocks/bash', ]; + yield 'code-block-diff' => [ + 'blockName' => 'code-blocks/diff', + ]; + yield 'code-block-html-php' => [ 'blockName' => 'code-blocks/html-php', ]; diff --git a/tests/fixtures/expected/blocks/code-blocks/diff.html b/tests/fixtures/expected/blocks/code-blocks/diff.html new file mode 100644 index 0000000..0a020cf --- /dev/null +++ b/tests/fixtures/expected/blocks/code-blocks/diff.html @@ -0,0 +1,39 @@ +
1 +2 +3 +4 +5+
+
+ + Added line
+ - Removed line
+ Normal line
+- Removed line
+ + Added line
+
+
+ 1 +2 +3 +4 +5 +6+
+
+ Normal line
++ Added line
+ - Removed line
+ Normal line
+- Removed line
+ + Added line
+
+
+