Skip to content

Commit

Permalink
add bc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBadura committed Oct 23, 2021
1 parent 4af8457 commit 517485e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/MarkdownBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,21 @@ public function testBlockquote(): void
self::assertEquals($markdown, $builder->getMarkdown());
}

/**
* @deprecated
*/
public function testBlockquoteTypo(): void
{
$markdown = <<<MARKDOWN
> foo bar
> hey ho
MARKDOWN;

$builder = new MarkdownBuilder();
$builder->blockqoute("foo bar\n hey ho");
self::assertEquals($markdown, $builder->getMarkdown());
}

public function testBlockquoteComplex(): void
{
$markdown = <<<MARKDOWN
Expand Down

0 comments on commit 517485e

Please sign in to comment.