mirror of
https://github.com/pestphp/pest.git
synced 2026-04-20 22:20:17 +02:00
13 lines
343 B
PHP
13 lines
343 B
PHP
<?php
|
|
|
|
use Pest\Arch\Exceptions\ArchExpectationFailedException;
|
|
|
|
test('pass')
|
|
->expect('Tests\Fixtures\Arch\ToBeCasedCorrectly\CorrectCasing')
|
|
->toBeCasedCorrectly();
|
|
|
|
test('failure')
|
|
->expect('Tests\Fixtures\Arch\ToBeCasedCorrectly\IncorrectCasing')
|
|
->toBeCasedCorrectly()
|
|
->throws(ArchExpectationFailedException::class);
|