From b2998bc69e1a213aba9a201bbe41b57be775663d Mon Sep 17 00:00:00 2001 From: nuno maduro Date: Fri, 12 Jun 2026 20:30:16 +0100 Subject: [PATCH] chore: updates snapshots --- tests/.snapshots/success.txt | 8 +++++++- tests/Visual/Parallel.php | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index 2548731c..e7ebe7b8 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -1744,6 +1744,12 @@ ✓ getShard → it throws exception for invalid index or total values with (['test', '--shard', '1/0']) ✓ getShard → it throws exception for invalid index or total values with (['test', '--shard', '3/2']) ✓ getShard → it throws exception for invalid index or total values with (['test', '--shard', '5/4']) + ✓ buildFilterArgument → it generates compact filter for single test + ✓ buildFilterArgument → it generates compact filter for multiple tests with common prefix + ✓ buildFilterArgument → it generates compact filter for tests with different namespaces + ✓ buildFilterArgument → it returns empty string for empty test list + ✓ buildFilterArgument → it generates compact filter for deeply nested namespaces + ✓ buildFilterArgument → it handles mix of nested and flat namespaces ✓ ensureFilterLengthIsSafe → it accepts filter within length limit ✓ ensureFilterLengthIsSafe → it throws exception when filter exceeds default limit ✓ ensureFilterLengthIsSafe → it respects custom limit from environment variable @@ -1977,4 +1983,4 @@ ✓ pass with dataset with ('my-datas-set-value') ✓ within describe → pass with dataset with ('my-datas-set-value') - Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 40 todos, 35 skipped, 1364 passed (3062 assertions) \ No newline at end of file + Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 40 todos, 35 skipped, 1370 passed (3068 assertions) \ No newline at end of file diff --git a/tests/Visual/Parallel.php b/tests/Visual/Parallel.php index 9cd7d106..887955a8 100644 --- a/tests/Visual/Parallel.php +++ b/tests/Visual/Parallel.php @@ -24,13 +24,13 @@ test('parallel', function () use ($run) { $file = file_get_contents(__FILE__); $file = preg_replace( '/\$expected = \'.*?\';/', - "\$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 27 skipped, 1347 passed (3009 assertions)';", + "\$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 27 skipped, 1353 passed (3015 assertions)';", $file, ); file_put_contents(__FILE__, $file); } - $expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 27 skipped, 1347 passed (3009 assertions)'; + $expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 27 skipped, 1353 passed (3015 assertions)'; expect($output) ->toContain("Tests: {$expected}")