Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

->hasSameContentAs() throws an error when the values are not comparable using the sorting operators #30

Open
lexidor opened this issue Jun 30, 2020 · 0 comments · May be fixed by #44
Open

Comments

@lexidor
Copy link
Contributor

lexidor commented Jun 30, 2020

expect(vec[dict[], dict[]])->toHaveSameContentAs(vec[]);
Cannot use relational comparison operators (<, <=, >, >=, <=>) to compare dicts

/path/to/SomeTest.php:24
  21| ...
  22| ...
  23|   ...
  24>       expect(vec[dict[], dict[]])->toHaveSameContentAs(vec[]);
@lexidor lexidor linked a pull request May 29, 2023 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant