Skip to content

v4.1.0

Latest
Compare
Choose a tag to compare
@rluba rluba released this 08 Sep 10:34
· 3 commits to master since this release

Added two new matchers:

  • startsWithItems(…)
  • endsWithItems(…)

Example:

__.assertThat([1, 2, 3, 4], __.startsWithItems(1, 2));
__.assertThat([1, 2, 3, 4], __.endsWithItems(4));