mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
feat(expect): removes ignore cases related assertions
This commit is contained in:
@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
use PHPUnit\Framework\ExpectationFailedException;
|
||||
|
||||
test('pass', function () {
|
||||
expect('00123')->toEqualCanonicalizing(123);
|
||||
expect(['a', 'b', 'c'])->toEqualCanonicalizing(['c', 'a', 'b']);
|
||||
});
|
||||
|
||||
test('failures', function () {
|
||||
expect(['a', 'b', 'c'])->toEqualCanonicalizing(['a', 'b']);
|
||||
})->throws(ExpectationFailedException::class);
|
||||
|
||||
test('not failures', function () {
|
||||
expect('042')->not->toEqualCanonicalizing(42);
|
||||
})->throws(ExpectationFailedException::class);
|
||||
Reference in New Issue
Block a user