From e1e4f8d884e7d6c40e8552b5818e171eb669ac9a Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Tue, 21 Mar 2023 16:57:07 +0000 Subject: [PATCH] chore: rebuilds snapshots --- src/Plugins/Only.php | 2 +- tests/.snapshots/success.txt | 48 +++++++++++++++++++++++++++++++++++- tests/Visual/Parallel.php | 2 +- 3 files changed, 49 insertions(+), 3 deletions(-) diff --git a/src/Plugins/Only.php b/src/Plugins/Only.php index 2ede1724..aa4556b8 100644 --- a/src/Plugins/Only.php +++ b/src/Plugins/Only.php @@ -29,7 +29,7 @@ final class Only implements Shutdownable public function shutdown(): void { $lockFile = self::TEMPORARY_FOLDER.DIRECTORY_SEPARATOR.'only.lock'; - + if (file_exists($lockFile)) { unlink($lockFile); } diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index 083ec696..217f831f 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -910,6 +910,52 @@ ✓ it may start with P with ('P\PPPackages\Foo', 'PPPackages\Foo') ✓ it may start with P with ('PPPackages\Foo', 'PPPackages\Foo') #1 ✓ it may start with P with ('PPPackages\Foo', 'PPPackages\Foo') #2 + ✓ ふ+が+ + ✓ ほげ + ✓ 卜竹弓一十山 + ✓ アゴデヸ + ✓ !p8VrB + ✓ &xe6VeKWF#n4 + ✓ %%HurHUnw7zM! + ✓ rundeliekend + ✓ g%%c!Jt9$fy#Kf + ✓ NRs*Gz2@hmB$W$BPD%%b2U%3P%z%apnwSX + ✓ ÀĤ{¼÷ + ✓ ìèéàòç + ✓ زهراء المعادي + ✓ الجبيهه + ✓ الظهران + ✓ Каролин + ✓ অ্যান্টার্কটিকা + ✓ Frýdek-Místek" + ✓ Allingåbro& + ✓ Κεντροαφρικανική Δημοκρατία + ✓ آذربایجان غربی + ✓ זימבבואה + ✓ Belišće + ✓ Գվատեմալա + ✓ パプアニューギニア + ✓ 富山県 + ✓ Қарағанды + ✓ Қостанай + ✓ 안양시 동안구 + ✓ Itālija + ✓ Honningsvåg + ✓ Águeda + ✓ Râșcani + ✓ Năsăud + ✓ Орехово-Зуево + ✓ Čereňany + ✓ Moravče + ✓ Šentjernej + ✓ Врање + ✓ Крушевац + ✓ Åkersberga + ✓ บอสเนียและเฮอร์เซโกวีนา + ✓ Birleşik Arap Emirlikleri + ✓ Німеччина + ✓ Nam Định + ✓ 呼和浩特 PASS Tests\Unit\TestSuite ✓ it does not allow to add the same test description twice @@ -944,4 +990,4 @@ PASS Tests\Visual\Version ✓ visual snapshot of help command output - Tests: 2 deprecated, 3 warnings, 4 incomplete, 1 notice, 4 todos, 12 skipped, 649 passed (1588 assertions) \ No newline at end of file + Tests: 2 deprecated, 3 warnings, 4 incomplete, 1 notice, 4 todos, 12 skipped, 695 passed (1680 assertions) \ No newline at end of file diff --git a/tests/Visual/Parallel.php b/tests/Visual/Parallel.php index 16ca7396..5c770e05 100644 --- a/tests/Visual/Parallel.php +++ b/tests/Visual/Parallel.php @@ -15,6 +15,6 @@ $run = function () { }; test('parallel', function () use ($run) { - expect($run())->toContain('Tests: 2 deprecated, 3 warnings, 4 incomplete, 1 notice, 4 todos, 9 skipped, 640 passed (1576 assertions)') + expect($run())->toContain('Tests: 2 deprecated, 3 warnings, 4 incomplete, 1 notice, 4 todos, 9 skipped, 686 passed (1668 assertions)') ->toContain('Parallel: 3 processes'); })->skip(PHP_OS_FAMILY === 'Windows');