Merge pull request #1055 from mapon-com/feature/string-comparison-expectations

[2.x] Allow string type in greaterThan/lessThan expectations
This commit is contained in:
Nuno Maduro
2024-01-25 16:48:27 +00:00
committed by GitHub
6 changed files with 28 additions and 4 deletions

View File

@ -430,6 +430,7 @@
PASS Tests\Features\Expect\toBeGreaterThan
✓ passes
✓ passes with DateTime and DateTimeImmutable
✓ passes with strings
✓ failures
✓ failures with custom message
✓ not failures
@ -437,6 +438,7 @@
PASS Tests\Features\Expect\toBeGreaterThanOrEqual
✓ passes
✓ passes with DateTime and DateTimeImmutable
✓ passes with strings
✓ failures
✓ failures with custom message
✓ not failures
@ -494,6 +496,7 @@
PASS Tests\Features\Expect\toBeLessThan
✓ passes
✓ passes with DateTime and DateTimeImmutable
✓ passes with strings
✓ failures
✓ failures with custom message
✓ not failures
@ -501,6 +504,7 @@
PASS Tests\Features\Expect\toBeLessThanOrEqual
✓ passes
✓ passes with DateTime and DateTimeImmutable
✓ passes with strings
✓ failures
✓ failures with custom message
✓ not failures