feat(expect): removes ignore cases related assertions

This commit is contained in:
Nuno Maduro
2020-07-14 23:21:51 +02:00
parent ab017e17e2
commit 32ef377284
3 changed files with 4 additions and 33 deletions

View File

@ -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);