Skip to content

Commit

Permalink
release: v2.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Jul 31, 2023
1 parent 6820d8b commit 4de70da
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Unreleased

## [v2.10.1 (2023-07-31)](https://github.com/pestphp/pest/compare/v2.10.0...v2.10.1)

### Fixed

- `not->toHaveSuffix` and `toHavePrefix` expectations ([#888](https://github.com/pestphp/pest/pull/888))

## [v2.10.0 (2023-07-31)](https://github.com/pestphp/pest/compare/v2.9.5...v2.10.0)

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/Pest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

function version(): string
{
return '2.10.0';
return '2.10.1';
}

function testDirectory(string $file = ''): string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Pest Testing Framework 2.10.0.
Pest Testing Framework 2.10.1.

USAGE: pest <file> [options]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

Pest Testing Framework 2.10.0.
Pest Testing Framework 2.10.1.

14 changes: 13 additions & 1 deletion tests/.snapshots/success.txt
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,12 @@
✓ failures with custom message
✓ not failures

PASS Tests\Features\Expect\toHavePrefix
✓ missing prefix
✓ has prefix
✓ opposite missing prefix
✓ opposite has prefix

PASS Tests\Features\Expect\toHaveProperties
✓ pass
✓ failures
Expand All @@ -642,6 +648,12 @@
✓ failures with message and Any matcher
✓ not failures

PASS Tests\Features\Expect\toHaveSuffix
✓ missing suffix
✓ has suffix
✓ opposite missing suffix
✓ opposite has suffix

PASS Tests\Features\Expect\toMatch
✓ pass
✓ failures
Expand Down Expand Up @@ -1174,4 +1186,4 @@
WARN Tests\Visual\Version
- visual snapshot of help command output

Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 830 passed (1927 assertions)
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 838 passed (1939 assertions)
2 changes: 1 addition & 1 deletion tests/Visual/Parallel.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
test('parallel', function () use ($run) {
expect($run('--exclude-group=integration'))
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 819 passed (1912 assertions)')
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 827 passed (1924 assertions)')
->toContain('Parallel: 3 processes');
})->skipOnWindows();

Expand Down

0 comments on commit 4de70da

Please sign in to comment.