Skip to content

Commit

Permalink
Add documentation for #647 (#648)
Browse files Browse the repository at this point in the history
Pull request #647 introduced the matcher `shouldBeOneOf`. This matcher is going to be introduced in a future version of KotlinTest, and with it, the documentation must be current.

This wasn't added as part of #647 because we didn't want documentation to include a matcher not existent yet.

Part of #616
  • Loading branch information
LeoColman authored and sksamuel committed Feb 17, 2019
1 parent 50567c8 commit 1a0a5c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/matchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ For the extension function style, each function has an equivalent negated versio
| `list.shouldHaveElementAt(index, element)` | Asserts that this list contains the given element at the given position. |
| `list.shouldStartWith(lst)` | Asserts that this list starts with the elements of the given list, in order. |
| `list.shouldEndWith(lst)` | Asserts that this list ends with the elements of the given list, in order. |
| `value.shouldBeOneOf(collection)` | Asserts that a specific instance is contained in a collection. |

| URIs ||
| -------- | ---- |
Expand Down

0 comments on commit 1a0a5c2

Please sign in to comment.