mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
Add working interpolated dataset name
This commit is contained in:
@ -109,6 +109,13 @@ test('named datasets', function ($text) use ($state, $datasets) {
|
||||
'two' => [2],
|
||||
]);
|
||||
|
||||
test('interpolated :dataset named datasets', function ($text) {
|
||||
expect(true)->toBeTrue();
|
||||
})->with([
|
||||
'one' => [1],
|
||||
'two' => [2],
|
||||
]);
|
||||
|
||||
test('named datasets did the job right', function () use ($state) {
|
||||
expect($state->text)->toBe('121212121212');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user