mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
fix test Case Name starts with a P
This commit is contained in:
@ -277,7 +277,7 @@ trait Testable
|
|||||||
*/
|
*/
|
||||||
public static function getPrintableTestCaseName(): string
|
public static function getPrintableTestCaseName(): string
|
||||||
{
|
{
|
||||||
return ltrim(self::class, 'P\\');
|
return preg_replace('/P\\\/', '', self::class, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user