From bf79f7c63fb233f5136b785b26d4bbb0bcf61962 Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Wed, 19 Aug 2020 16:48:20 +0100 Subject: [PATCH 1/2] chore: indicate 0.3 dev in version --- src/Pest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pest.php b/src/Pest.php index 79981d1b..3a641f8a 100644 --- a/src/Pest.php +++ b/src/Pest.php @@ -6,5 +6,5 @@ namespace Pest; function version(): string { - return '0.2.2'; + return '0.3.x-dev'; } From 09a0a64f20e0f1a9087a73c4a5fbc71f55fe998f Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Wed, 19 Aug 2020 16:55:08 +0100 Subject: [PATCH 2/2] tests: update to use version() in test --- tests/Unit/Plugins/Version.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Unit/Plugins/Version.php b/tests/Unit/Plugins/Version.php index 0bd5feb7..211f11e3 100644 --- a/tests/Unit/Plugins/Version.php +++ b/tests/Unit/Plugins/Version.php @@ -1,6 +1,7 @@ handleArguments(['foo', '--version']); - expect($output->fetch())->toContain('Pest 0.2.2'); + expect($output->fetch())->toContain('Pest ' . version()); }); it('do not outputs version when --version is not used', function () {