mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
first
This commit is contained in:
15
tests/Datasets/Numbers.php
Normal file
15
tests/Datasets/Numbers.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
dataset('numbers.closure', function () {
|
||||
yield [1];
|
||||
yield [2];
|
||||
});
|
||||
|
||||
dataset('numbers.closure.wrapped', function () {
|
||||
yield 1;
|
||||
yield 2;
|
||||
});
|
||||
|
||||
dataset('numbers.array', [[1], [2]]);
|
||||
|
||||
dataset('numbers.array.wrapped', [1, 2]);
|
||||
Reference in New Issue
Block a user