mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
tests: windows global functions
This commit is contained in:
6
tests/Environments/Windows.php
Normal file
6
tests/Environments/Windows.php
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
test('global functions are loaded', function () {
|
||||||
|
expect(helper_returns_string())->toBeString();
|
||||||
|
});
|
||||||
|
|
||||||
@ -25,3 +25,7 @@ uses()
|
|||||||
$_SERVER['globalHook']->calls->afterAll++;
|
$_SERVER['globalHook']->calls->afterAll++;
|
||||||
})
|
})
|
||||||
->in('Hooks');
|
->in('Hooks');
|
||||||
|
|
||||||
|
function helper_returns_string() {
|
||||||
|
return 'string';
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user