From d187566e633113e8fe85c85be64a31d7a3086894 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Fri, 25 Jul 2025 21:29:26 -0600 Subject: [PATCH] chore: updates snapshots --- src/Support/Description.php | 6 ++++++ tests/.snapshots/success.txt | 3 +-- tests/Visual/Parallel.php | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Support/Description.php b/src/Support/Description.php index 01fc45a6..d7d775f2 100644 --- a/src/Support/Description.php +++ b/src/Support/Description.php @@ -6,8 +6,14 @@ namespace Pest\Support; final readonly class Description implements \Stringable { + /** + * Creates a new Description instance. + */ public function __construct(private string $description) {} + /** + * Returns the description as a string. + */ public function __toString(): string { return $this->description; diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index 34fca809..734f573b 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -1785,5 +1785,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, 38 todos, 33 skipped, 1159 passed (2774 assertions) - + Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 39 todos, 35 skipped, 1189 passed (2815 assertions) \ No newline at end of file diff --git a/tests/Visual/Parallel.php b/tests/Visual/Parallel.php index 08747a53..fb04f117 100644 --- a/tests/Visual/Parallel.php +++ b/tests/Visual/Parallel.php @@ -16,7 +16,7 @@ $run = function () { test('parallel', function () use ($run) { expect($run('--exclude-group=integration')) - ->toContain('Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 39 todos, 26 skipped, 1172 passed (2761 assertions)') + ->toContain('Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 39 todos, 26 skipped, 1179 passed (2791 assertions)') ->toContain('Parallel: 3 processes'); })->skipOnWindows();