Skip to content

Commit 4de70da

Browse files
committed
release: v2.10.1
1 parent 6820d8b commit 4de70da

File tree

6 files changed

+23
-5
lines changed

6 files changed

+23
-5
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## Unreleased
44

5+
## [v2.10.1 (2023-07-31)](https://github.com/pestphp/pest/compare/v2.10.0...v2.10.1)
6+
7+
### Fixed
8+
9+
- `not->toHaveSuffix` and `toHavePrefix` expectations ([#888](https://github.com/pestphp/pest/pull/888))
10+
511
## [v2.10.0 (2023-07-31)](https://github.com/pestphp/pest/compare/v2.9.5...v2.10.0)
612

713
### Added

src/Pest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
function version(): string
88
{
9-
return '2.10.0';
9+
return '2.10.1';
1010
}
1111

1212
function testDirectory(string $file = ''): string

tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Pest Testing Framework 2.10.0.
2+
Pest Testing Framework 2.10.1.
33

44
USAGE: pest <file> [options]
55

Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

2-
Pest Testing Framework 2.10.0.
2+
Pest Testing Framework 2.10.1.
33

tests/.snapshots/success.txt

+13-1
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,12 @@
629629
✓ failures with custom message
630630
✓ not failures
631631

632+
PASS Tests\Features\Expect\toHavePrefix
633+
✓ missing prefix
634+
✓ has prefix
635+
✓ opposite missing prefix
636+
✓ opposite has prefix
637+
632638
PASS Tests\Features\Expect\toHaveProperties
633639
✓ pass
634640
✓ failures
@@ -642,6 +648,12 @@
642648
✓ failures with message and Any matcher
643649
✓ not failures
644650

651+
PASS Tests\Features\Expect\toHaveSuffix
652+
✓ missing suffix
653+
✓ has suffix
654+
✓ opposite missing suffix
655+
✓ opposite has suffix
656+
645657
PASS Tests\Features\Expect\toMatch
646658
✓ pass
647659
✓ failures
@@ -1174,4 +1186,4 @@
11741186
WARN Tests\Visual\Version
11751187
- visual snapshot of help command output
11761188

1177-
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 830 passed (1927 assertions)
1189+
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 838 passed (1939 assertions)

tests/Visual/Parallel.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
test('parallel', function () use ($run) {
1818
expect($run('--exclude-group=integration'))
19-
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 819 passed (1912 assertions)')
19+
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 827 passed (1924 assertions)')
2020
->toContain('Parallel: 3 processes');
2121
})->skipOnWindows();
2222

0 commit comments

Comments
 (0)