Skip to content

Commit 6684643

Browse files
committed
Tests
1 parent e8777da commit 6684643

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/integration/InterpretingDocBlocksTest.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,14 @@ public function testInterpretingASimpleDocBlock(): void
7979
$this->assertInstanceOf(DocBlock::class, $docblock);
8080
$this->assertSame('This is an example of a summary.', $summary);
8181
$this->assertInstanceOf(Description::class, $description);
82-
$this->assertSame($descriptionText, $description->render());
82+
$this->assertSame(
83+
str_replace(
84+
PHP_EOL,
85+
"\n",
86+
$descriptionText
87+
),
88+
$description->render()
89+
);
8390
$this->assertEmpty($docblock->getTags());
8491
}
8592

0 commit comments

Comments
 (0)