mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
first
This commit is contained in:
11
tests/Unit/Support/Backtrace.php
Normal file
11
tests/Unit/Support/Backtrace.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Pest\Support\Backtrace;
|
||||
|
||||
it('gets file name from called file', function () {
|
||||
$a = function () {
|
||||
return Backtrace::file();
|
||||
};
|
||||
|
||||
assertEquals(__FILE__, $a());
|
||||
});
|
||||
Reference in New Issue
Block a user