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