mirror of
https://github.com/pestphp/pest.git
synced 2026-07-23 10:00:03 +02:00
fix: package lock fingerprint
This commit is contained in:
@@ -2,10 +2,8 @@
|
||||
|
||||
use Pest\Support\Backtrace;
|
||||
|
||||
it('gets file name from called file', function () {
|
||||
$a = function () {
|
||||
return Backtrace::file();
|
||||
};
|
||||
it('gets file name from called file', function (): void {
|
||||
$a = (fn (): string => Backtrace::file());
|
||||
|
||||
expect($a())->toBe(__FILE__);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user