mirror of
https://github.com/pestphp/pest.git
synced 2026-09-05 14:23:34 +02:00
chore: coding style changes
This commit is contained in:
@@ -6,11 +6,11 @@ use Pest\Exceptions\InvalidExpectationValue;
|
||||
use PHPUnit\Framework\ExpectationFailedException;
|
||||
|
||||
test('pass', function (): void {
|
||||
expect('abcdef')->toBeHexadecimal() // lowercase
|
||||
->and('ABCDEF')->toBeHexadecimal() // uppercase
|
||||
->and('aBcDeF')->toBeHexadecimal() // mixed case
|
||||
->and('1234567890')->toBeHexadecimal() // numeric
|
||||
->and('deadbeef')->toBeHexadecimal(); // alphanumeric
|
||||
expect('abcdef')->toBeHexadecimal()
|
||||
->and('ABCDEF')->toBeHexadecimal()
|
||||
->and('aBcDeF')->toBeHexadecimal()
|
||||
->and('1234567890')->toBeHexadecimal()
|
||||
->and('deadbeef')->toBeHexadecimal();
|
||||
});
|
||||
|
||||
test('failures', function (): void {
|
||||
|
||||
Reference in New Issue
Block a user