From f20a7cc9e4d69a65e867c5c4ad88678b9b025c9b Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Thu, 15 Sep 2022 21:16:28 +0100 Subject: [PATCH] Removes non-used tests --- tests/.snapshots/has-ascii-chars.txt | 4 ---- tests/Visual/SingleTestOrDirectory.php | 4 ---- 2 files changed, 8 deletions(-) delete mode 100644 tests/.snapshots/has-ascii-chars.txt diff --git a/tests/.snapshots/has-ascii-chars.txt b/tests/.snapshots/has-ascii-chars.txt deleted file mode 100644 index 0e60bb44..00000000 --- a/tests/.snapshots/has-ascii-chars.txt +++ /dev/null @@ -1,4 +0,0 @@ -  PASS  Tests\Fixtures\DirectoryWithTests\ExampleTest - ✓ it example 1 - - Tests: 1 passed (1 assertions) diff --git a/tests/Visual/SingleTestOrDirectory.php b/tests/Visual/SingleTestOrDirectory.php index 4561d001..5e69736e 100644 --- a/tests/Visual/SingleTestOrDirectory.php +++ b/tests/Visual/SingleTestOrDirectory.php @@ -30,10 +30,6 @@ test('allows to run a directory', function () use ($run, $snapshot) { expect($run('tests/Fixtures'))->toContain($snapshot('allows-to-run-a-directory')); })->skip(PHP_OS_FAMILY === 'Windows'); -it('has ascii chars', function () use ($run, $snapshot) { - expect($run('tests/Fixtures/DirectoryWithTests/ExampleTest.php', true))->toContain($snapshot('has-ascii-chars')); -})->skip(PHP_OS_FAMILY === 'Windows'); - it('disable decorating printer when colors is set to never', function () use ($snapshot) { $process = new Process([ 'php',