mirror of
https://github.com/pestphp/pest.git
synced 2026-07-21 17:10:03 +02:00
13 lines
332 B
PHP
13 lines
332 B
PHP
<?php
|
|
|
|
use Pest\Arch\Exceptions\ArchExpectationFailedException;
|
|
use Pest\Expectation;
|
|
|
|
it('passes', function (): void {
|
|
expect(Expectation::class)->toHaveLineCountLessThan(2000);
|
|
});
|
|
|
|
it('fails', function (): void {
|
|
expect(Expectation::class)->toHaveLineCountLessThan(10);
|
|
})->throws(ArchExpectationFailedException::class);
|