Skip to content

Commit 41b9de0

Browse files
committed
Added another assert to check if its a string
1 parent 2dacfcc commit 41b9de0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Submitty/Twig/TokenParser/MarkdownTokenParserTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ 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);
5152
$this->assertEquals($expectedOutput, $this->getEngine()->transform($content));
5253
}
5354

0 commit comments

Comments
 (0)