From 41b9de0c0516edce7059371dbe457430b4eefe46 Mon Sep 17 00:00:00 2001 From: Jason Ng <116290832+jason490@users.noreply.github.com> Date: Mon, 27 Nov 2023 10:29:59 -0500 Subject: [PATCH] Added another assert to check if its a string --- tests/Submitty/Twig/TokenParser/MarkdownTokenParserTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Submitty/Twig/TokenParser/MarkdownTokenParserTest.php b/tests/Submitty/Twig/TokenParser/MarkdownTokenParserTest.php index 0ed0ee6..854793b 100644 --- a/tests/Submitty/Twig/TokenParser/MarkdownTokenParserTest.php +++ b/tests/Submitty/Twig/TokenParser/MarkdownTokenParserTest.php @@ -48,6 +48,7 @@ public function testMarkdownPrepareBehavior() // Assert Markdown output $expectedOutput = "
paragraph
\n\ncode\n
\n";
+ $this->assertIsString($this->getEngine()->transform($content),$expectedOutput);
$this->assertEquals($expectedOutput, $this->getEngine()->transform($content));
}