Skip to content

Commit

Permalink
chore: updates snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Sep 19, 2023
1 parent 95b65fe commit 0d114e2
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Pest Testing Framework 2.18.2.
Pest Testing Framework 2.19.0.

USAGE: pest <file> [options]

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

Pest Testing Framework 2.18.2.
Pest Testing Framework 2.19.0.

10 changes: 9 additions & 1 deletion tests/.snapshots/success.txt
Original file line number Diff line number Diff line change
Expand Up @@ -652,13 +652,21 @@
✓ failures with message
✓ not failures

PASS Tests\Features\Expect\toHaveConstructor
✓ class has constructor
✓ class has no constructor

PASS Tests\Features\Expect\toHaveCount
✓ pass
✓ failures with invalid type
✓ failures
✓ failures with message
✓ not failures

PASS Tests\Features\Expect\toHaveDestructor
✓ class has destructor
✓ class has no destructor

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

Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 939 passed (2220 assertions)
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 943 passed (2224 assertions)
6 changes: 3 additions & 3 deletions tests/Features/Expect/toHaveKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@

test('not failures', function () use ($test_array) {
expect($test_array)->not->toHaveKey('c');
})->throws(ExpectationFailedException::class, "Expecting Array (…) not to have key 'c'");
})->throws(ExpectationFailedException::class, "Expecting […] not to have key 'c'");

test('not failures with nested key', function () use ($test_array) {
expect($test_array)->not->toHaveKey('d.e');
})->throws(ExpectationFailedException::class, "Expecting Array (…) not to have key 'd.e'");
})->throws(ExpectationFailedException::class, "Expecting […] not to have key 'd.e'");

test('not failures with plain key with dots', function () use ($test_array) {
expect($test_array)->not->toHaveKey('key.with.dots');
})->throws(ExpectationFailedException::class, "Expecting Array (…) not to have key 'key.with.dots'");
})->throws(ExpectationFailedException::class, "Expecting […] not to have key 'key.with.dots'");

test('not failures with correct value', function () use ($test_array) {
expect($test_array)->not->toHaveKey('c', 'world');
Expand Down
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, 928 passed (2205 assertions)')
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 932 passed (2209 assertions)')
->toContain('Parallel: 3 processes');
})->skipOnWindows();

Expand Down

0 comments on commit 0d114e2

Please sign in to comment.