From 0d114e21fd1f8892f995abbe04a63327a80a9e6e Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Tue, 19 Sep 2023 10:48:23 +0100 Subject: [PATCH] chore: updates snapshots --- ...ap => collision_with_data_set________________.snap} | 0 ..._data_set_______parallel__________parallel___.snap} | 0 .../Help/visual_snapshot_of_help_command_output.snap | 2 +- .../visual_snapshot_of_help_command_output.snap | 2 +- tests/.snapshots/success.txt | 10 +++++++++- tests/Features/Expect/toHaveKey.php | 6 +++--- tests/Visual/Parallel.php | 2 +- 7 files changed, 15 insertions(+), 7 deletions(-) rename tests/.pest/snapshots/Visual/Collision/{collision_with_data_set___________array_____.snap => collision_with_data_set________________.snap} (100%) rename tests/.pest/snapshots/Visual/Collision/{collision_with_data_set_______parallel______array____parallel___.snap => collision_with_data_set_______parallel__________parallel___.snap} (100%) diff --git a/tests/.pest/snapshots/Visual/Collision/collision_with_data_set___________array_____.snap b/tests/.pest/snapshots/Visual/Collision/collision_with_data_set________________.snap similarity index 100% rename from tests/.pest/snapshots/Visual/Collision/collision_with_data_set___________array_____.snap rename to tests/.pest/snapshots/Visual/Collision/collision_with_data_set________________.snap diff --git a/tests/.pest/snapshots/Visual/Collision/collision_with_data_set_______parallel______array____parallel___.snap b/tests/.pest/snapshots/Visual/Collision/collision_with_data_set_______parallel__________parallel___.snap similarity index 100% rename from tests/.pest/snapshots/Visual/Collision/collision_with_data_set_______parallel______array____parallel___.snap rename to tests/.pest/snapshots/Visual/Collision/collision_with_data_set_______parallel__________parallel___.snap diff --git a/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap b/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap index 79d18d29..86251a5d 100644 --- a/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap +++ b/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap @@ -1,5 +1,5 @@ - Pest Testing Framework 2.18.2. + Pest Testing Framework 2.19.0. USAGE: pest [options] diff --git a/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap b/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap index deed6275..11ac0b95 100644 --- a/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap +++ b/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap @@ -1,3 +1,3 @@ - Pest Testing Framework 2.18.2. + Pest Testing Framework 2.19.0. diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index 72376212..6cee478e 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -652,6 +652,10 @@ ✓ failures with message ✓ not failures + PASS Tests\Features\Expect\toHaveConstructor + ✓ class has constructor + ✓ class has no constructor + PASS Tests\Features\Expect\toHaveCount ✓ pass ✓ failures with invalid type @@ -659,6 +663,10 @@ ✓ failures with message ✓ not failures + PASS Tests\Features\Expect\toHaveDestructor + ✓ class has destructor + ✓ class has no destructor + PASS Tests\Features\Expect\toHaveKebabCaseKeys ✓ pass ✓ failures @@ -1325,4 +1333,4 @@ WARN Tests\Visual\Version - visual snapshot of help command output - Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 939 passed (2220 assertions) \ No newline at end of file + Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 943 passed (2224 assertions) \ No newline at end of file diff --git a/tests/Features/Expect/toHaveKey.php b/tests/Features/Expect/toHaveKey.php index c1a979f6..a0768e37 100644 --- a/tests/Features/Expect/toHaveKey.php +++ b/tests/Features/Expect/toHaveKey.php @@ -62,15 +62,15 @@ test('not failures', function () use ($test_array) { expect($test_array)->not->toHaveKey('c'); -})->throws(ExpectationFailedException::class, "Expecting Array (…) not to have key 'c'"); +})->throws(ExpectationFailedException::class, "Expecting […] not to have key 'c'"); test('not failures with nested key', function () use ($test_array) { expect($test_array)->not->toHaveKey('d.e'); -})->throws(ExpectationFailedException::class, "Expecting Array (…) not to have key 'd.e'"); +})->throws(ExpectationFailedException::class, "Expecting […] not to have key 'd.e'"); test('not failures with plain key with dots', function () use ($test_array) { expect($test_array)->not->toHaveKey('key.with.dots'); -})->throws(ExpectationFailedException::class, "Expecting Array (…) not to have key 'key.with.dots'"); +})->throws(ExpectationFailedException::class, "Expecting […] not to have key 'key.with.dots'"); test('not failures with correct value', function () use ($test_array) { expect($test_array)->not->toHaveKey('c', 'world'); diff --git a/tests/Visual/Parallel.php b/tests/Visual/Parallel.php index 3418753a..e8e3ea22 100644 --- a/tests/Visual/Parallel.php +++ b/tests/Visual/Parallel.php @@ -16,7 +16,7 @@ test('parallel', function () use ($run) { expect($run('--exclude-group=integration')) - ->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 928 passed (2205 assertions)') + ->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 932 passed (2209 assertions)') ->toContain('Parallel: 3 processes'); })->skipOnWindows();