mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix inconsistency in dataset spelling
This commit is contained in:
@ -107,7 +107,7 @@ final class NameFilterIterator extends RecursiveFilterIterator
|
||||
if (preg_match('/^(.*?)#(\d+)(?:-(\d+))?$/', $filter, $matches)) {
|
||||
if (isset($matches[3]) && $matches[2] < $matches[3]) {
|
||||
$filter = sprintf(
|
||||
'%s.*with data set #(\d+)$',
|
||||
'%s.*with dataset #(\d+)$',
|
||||
$matches[1]
|
||||
);
|
||||
|
||||
@ -115,7 +115,7 @@ final class NameFilterIterator extends RecursiveFilterIterator
|
||||
$this->filterMax = (int) $matches[3];
|
||||
} else {
|
||||
$filter = sprintf(
|
||||
'%s.*with data set #%s$',
|
||||
'%s.*with dataset #%s$',
|
||||
$matches[1],
|
||||
$matches[2]
|
||||
);
|
||||
@ -125,7 +125,7 @@ final class NameFilterIterator extends RecursiveFilterIterator
|
||||
// * testDetermineJsonError@JSON.*
|
||||
elseif (preg_match('/^(.*?)@(.+)$/', $filter, $matches)) {
|
||||
$filter = sprintf(
|
||||
'%s.*with data set "%s"$',
|
||||
'%s.*with dataset "%s"$',
|
||||
$matches[1],
|
||||
$matches[2]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user