Skip to content

Commit 22f0d18

Browse files
committed
fix unittest
1 parent 09cc54b commit 22f0d18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ColorTest/CliColorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function testColoredString()
1818
$res = $color->getColoredString("Testing Colors class, this is purple string on yellow background.",
1919
"purple",
2020
"yellow");
21-
$this->assertEquals('[0;35m[43mTesting Colors class, this is purple string on yellow background.[0m', $res);
21+
$this->assertEquals('[0;35m[43mTesting Colors class, this is purple string on yellow background.[0m' . PHP_EOL, $res);
2222
}
2323

2424
public function testGetBackgroundColors()

0 commit comments

Comments
 (0)