From b21bfe366668935fd3eb42a58b3c3c212adb810b Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Thu, 15 Sep 2022 21:12:22 +0100 Subject: [PATCH] Removes non-unused code --- tests/Visual/SingleTestOrDirectory.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/Visual/SingleTestOrDirectory.php b/tests/Visual/SingleTestOrDirectory.php index 85679269..4561d001 100644 --- a/tests/Visual/SingleTestOrDirectory.php +++ b/tests/Visual/SingleTestOrDirectory.php @@ -31,7 +31,6 @@ test('allows to run a directory', function () use ($run, $snapshot) { })->skip(PHP_OS_FAMILY === 'Windows'); it('has ascii chars', function () use ($run, $snapshot) { - file_put_contents(__DIR__ . '/output.txt', $run('tests/Fixtures/DirectoryWithTests/ExampleTest.php', true)); expect($run('tests/Fixtures/DirectoryWithTests/ExampleTest.php', true))->toContain($snapshot('has-ascii-chars')); })->skip(PHP_OS_FAMILY === 'Windows');