mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix colored output
This commit is contained in:
@@ -17,7 +17,7 @@ class TestHook implements AfterTestHook
|
||||
);
|
||||
|
||||
if($time > self::MAX_SECONDS_ALLOWED) {
|
||||
fwrite(STDERR, sprintf("\nThe %s test is slow, it took %s seconds!\n", $test, $time));
|
||||
fwrite(STDOUT, sprintf("\e[31mThe %s test is slow, it took %s seconds!\n\e[0m", $test, $time));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user