Skip to content

Commit

Permalink
fix unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
wujunze committed Jul 10, 2018
1 parent 09cc54b commit 22f0d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ColorTest/CliColorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function testColoredString()
$res = $color->getColoredString("Testing Colors class, this is purple string on yellow background.",
"purple",
"yellow");
$this->assertEquals('[0;35m[43mTesting Colors class, this is purple string on yellow background.[0m', $res);
$this->assertEquals('[0;35m[43mTesting Colors class, this is purple string on yellow background.[0m' . PHP_EOL, $res);
}

public function testGetBackgroundColors()
Expand Down

0 comments on commit 22f0d18

Please sign in to comment.