• Jeremy Mikola's avatar
    Fix ObjectID and other type equality assertions for HHVM · 4078d0a6
    Jeremy Mikola authored
    HHVM does not support comparing ObjectIDs with the equality operator (i.e. `==`). For documents, which may contain arbitrary BSON types, converting to JSON is the easiest solution. The documents will then be compared as extended JSON and produce a readable diff on error.
    4078d0a6
Name
Last commit
Last update
docs Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE-0.1.0 Loading commit data...
RELEASE-0.2.0 Loading commit data...
RELEASE-1.0 Loading commit data...
apigen.neon Loading commit data...
composer.json Loading commit data...
mkdocs.yml Loading commit data...
phpunit.xml.dist Loading commit data...