File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function toStringRendersCommentEnclosedInCommentDelimiters(): void
2929 /**
3030 * @test
3131 */
32- public function renderWithDefaultOutputFormatRendersCommentEnclosedInCommentDelimiters (): void
32+ public function renderWithVirginOutputFormatRendersCommentEnclosedInCommentDelimiters (): void
3333 {
3434 $ comment = 'There is no spoon. ' ;
3535 $ subject = new Comment ();
@@ -39,6 +39,19 @@ public function renderWithDefaultOutputFormatRendersCommentEnclosedInCommentDeli
3939 self ::assertSame ('/* ' . $ comment . '*/ ' , $ subject ->render (new OutputFormat ()));
4040 }
4141
42+ /**
43+ * @test
44+ */
45+ public function renderWithDefaultOutputFormatRendersCommentEnclosedInCommentDelimiters (): void
46+ {
47+ $ comment = 'There is no spoon. ' ;
48+ $ subject = new Comment ();
49+
50+ $ subject ->setComment ($ comment );
51+
52+ self ::assertSame ('/* ' . $ comment . '*/ ' , $ subject ->render (OutputFormat::create ()));
53+ }
54+
4255 /**
4356 * @test
4457 */
You can’t perform that action at this time.
0 commit comments