Skip to content

2.2.0

Compare
Choose a tag to compare
@FranckRJ FranckRJ released this 22 May 17:36
· 88 commits to master since this release
  • BREAKING: Changed Spy() method to copy arguments instead of moving them. The goal is to be able to keep the value so they can be Verify()ed later. To forward them instead (for move-only types), you can use SpyWithoutVerify(), but then you won't be able to use Verify() on these methods #272
  • Added an ApproxEq() matcher, that match numeric values with some margin #271
  • Rewrote matcher code to be able to store a different type than the type that is checked, and to perfect-forward the value stored instead of always copying it. Fix object slicing and matching move-only types #268
  • Fixed mocking for some kind of functions (templated overloaded methods) #267