mirror of
https://github.com/pestphp/pest.git
synced 2026-07-22 17:40:03 +02:00
10 lines
180 B
PHP
10 lines
180 B
PHP
<?php
|
|
|
|
use Pest\Support\Backtrace;
|
|
|
|
it('gets file name from called file', function (): void {
|
|
$a = (fn (): string => Backtrace::file());
|
|
|
|
expect($a())->toBe(__FILE__);
|
|
});
|