Commit 40de923b authored by Hannes Peterseim's avatar Hannes Peterseim
Browse files

fancy colors for connect test too

parent 90422f90
......@@ -57,14 +57,14 @@ class test
public function __construct ()
{
$this->client = new client();
echo '\e[0mconnect test...';
echo "\e[0mconnect test...";
$this->start();
$result = $this->client->connect();
$this->end();
if ($result === true) {
echo '\e[32msuccessful' . "\n";
echo "\e[32msuccessful\n";
} else {
echo 'failed' . "\n";
echo "\e[31mfailed\n";
}
}
......@@ -118,7 +118,7 @@ class test
if ($result === true) {
echo "\e[32msuccessful\n";
} else {
echo 'failed' . "\n";
echo "failed' . "\n";
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment