mirror of
https://github.com/pestphp/pest.git
synced 2026-07-24 10:30:03 +02:00
fix: package lock fingerprint
This commit is contained in:
@@ -5,15 +5,15 @@ use Pest\Expectation;
|
||||
use Pest\Factories\TestCaseFactory;
|
||||
use Tests\Fixtures\Inheritance\ExampleTest;
|
||||
|
||||
it('passes', function () {
|
||||
it('passes', function (): void {
|
||||
expect(Expectation::class)->toHavePropertiesDocumented()
|
||||
->and(ExampleTest::class)->not->toHavePropertiesDocumented();
|
||||
});
|
||||
|
||||
it('fails 1', function () {
|
||||
it('fails 1', function (): void {
|
||||
expect(ExampleTest::class)->toHavePropertiesDocumented();
|
||||
})->throws(ArchExpectationFailedException::class);
|
||||
|
||||
it('fails 2', function () {
|
||||
it('fails 2', function (): void {
|
||||
expect(TestCaseFactory::class)->not->toHavePropertiesDocumented();
|
||||
})->throws(ArchExpectationFailedException::class);
|
||||
|
||||
Reference in New Issue
Block a user