fix colored output

This commit is contained in:
Damodar Lohani
2023-02-13 06:24:22 +00:00
parent 0045eefd1e
commit da873b2876
+1 -1
View File
@@ -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));
}
}
}