mirror of
https://github.com/pestphp/pest.git
synced 2026-09-06 23:03:34 +02:00
chore: coding style changes
This commit is contained in:
@@ -6,8 +6,8 @@ use Pest\Exceptions\InvalidExpectationValue;
|
||||
use PHPUnit\Framework\ExpectationFailedException;
|
||||
|
||||
test('pass', function (): void {
|
||||
expect('00:1a:2b:3c:4d:5e')->toBeMacAddress() // colon-separated
|
||||
->and('00-1a-2b-3c-4d-5e')->toBeMacAddress() // hyphen-separated
|
||||
expect('00:1a:2b:3c:4d:5e')->toBeMacAddress()
|
||||
->and('00-1a-2b-3c-4d-5e')->toBeMacAddress()
|
||||
->and('ff:ff:ff:ff:ff:ff')->toBeMacAddress();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user