mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Uses Collision ^7.0
This commit is contained in:
@ -1,11 +1,19 @@
|
||||
<?php
|
||||
|
||||
dataset('bound.closure', function () {
|
||||
yield function () { return 1; };
|
||||
yield function () { return 2; };
|
||||
yield function () {
|
||||
return 1;
|
||||
};
|
||||
yield function () {
|
||||
return 2;
|
||||
};
|
||||
});
|
||||
|
||||
dataset('bound.array', [
|
||||
function () { return 1; },
|
||||
function () { return 2; },
|
||||
function () {
|
||||
return 1;
|
||||
},
|
||||
function () {
|
||||
return 2;
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user