Skip to content

v1.7.0

Compare
Choose a tag to compare
@sirbrillig sirbrillig released this 17 Aug 20:12
· 102 commits to master since this release

Changelog

  • Add \Spies\match_array() which can be used as an argument to any call to with() (in Expectations or Stubs) to partially match an array, rather than having to specify all the array elements.
  • Add \Spies\do_arrays_match() which is a helper function that can be used anywhere and returns true if the first argument partially matches the second.