diff --git a/tests/Fixtures/DirectoryWithTests/ExampleTest.php b/tests/Fixtures/DirectoryWithTests/ExampleTest.php index 8553ad34..81ce02ff 100644 --- a/tests/Fixtures/DirectoryWithTests/ExampleTest.php +++ b/tests/Fixtures/DirectoryWithTests/ExampleTest.php @@ -1,3 +1,3 @@ assertTrue(true); +it('example 1')->assertTrue(true); diff --git a/tests/Fixtures/ExampleTest.php b/tests/Fixtures/ExampleTest.php index 8553ad34..a2704020 100644 --- a/tests/Fixtures/ExampleTest.php +++ b/tests/Fixtures/ExampleTest.php @@ -1,3 +1,3 @@ assertTrue(true); +it('example 2')->assertTrue(true); diff --git a/tests/Visual/SingleTestOrDirectory.php b/tests/Visual/SingleTestOrDirectory.php index 5cf1e6f3..40ab399c 100644 --- a/tests/Visual/SingleTestOrDirectory.php +++ b/tests/Visual/SingleTestOrDirectory.php @@ -11,24 +11,19 @@ $run = function (string $target) { }; test('allows to run a single test', function () use ($run) { - assertStringContainsString(<<run(); $output = $process->getOutput(); - assertStringContainsString(<<run(); $output = $process->getOutput(); - assertStringContainsString(<<