-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mock,api: use comparison operators rather than mmk_memcmp
mmk_memcmp might have been a good idea in theory. That is, if you don't account for endianness. We now use regular comparison operators. This means that users can't use comparison matchers with types that doesn't implement those operators, but in practice this is exactly what mmk_that is for, so we choose correctness over genericity.
- Loading branch information
Showing
1 changed file
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters