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:
@ -168,19 +168,6 @@ final class Expectation
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Asserts that two variables are equals, ignoring the casing
|
||||
* for the comparison.
|
||||
*
|
||||
* @param mixed $value
|
||||
*/
|
||||
public function toEqualIgnoringCase($value): Expectation
|
||||
{
|
||||
Assert::assertEqualsIgnoringCase($value, $this->value);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Asserts that two variables have the same value.
|
||||
* The contents of $expected and $actual are canonicalized before
|
||||
@ -205,7 +192,7 @@ final class Expectation
|
||||
*
|
||||
* @param mixed $value
|
||||
*/
|
||||
public function toBeEqualWithDelta($value, float $delta): Expectation
|
||||
public function toEqualWithDelta($value, float $delta): Expectation
|
||||
{
|
||||
Assert::assertEqualsWithDelta($value, $this->value, $delta);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user