Skip to content

Commit 98658bf

Browse files
committed
Update MarkdownTokenParserTest.php
1 parent a5e43dc commit 98658bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/Submitty/Twig/TokenParser/MarkdownTokenParserTest.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ public function testMarkdownPrepareBehavior()
4848

4949
// Assert Markdown output
5050
$expectedOutput = "<h1>Title</h1>\n\n<p>paragraph</p>\n\n<pre><code>code\n</code></pre>\n";
51-
$this->assertIsString($this->getEngine()->transform($content),$expectedOutput);
52-
// $this->assertEquals($expectedOutput, $this->getEngine()->transform($content));
51+
$output = $this->getEngine()->transform($content);
52+
$this->assertIsString($output,$expectedOutput);
53+
$this->assertEquals($output, $this->getEngine()->transform($content));
5354
}
5455

5556
/**

0 commit comments

Comments
 (0)