From a3644f7efa0fe42fac645a5e6957cebb57d2e424 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Fri, 26 Jun 2020 18:42:57 +0200 Subject: [PATCH] tests: fixes windows tests --- tests/Unit/Plugins/Version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/Plugins/Version.php b/tests/Unit/Plugins/Version.php index 6f770612..0bd19052 100644 --- a/tests/Unit/Plugins/Version.php +++ b/tests/Unit/Plugins/Version.php @@ -8,7 +8,7 @@ it('outputs the version when --version is used', function () { $plugin = new Version($output); $plugin->handleArguments(['foo', '--version']); - assertEquals("Pest 0.2.2\n", $output->fetch()); + assertStringContainsString('Pest 0.2.2', $output->fetch()); }); it('do not outputs version when --version is not used', function () {