Skip to content

Commit

Permalink
Fix the document of Matchers
Browse files Browse the repository at this point in the history
Since there is an absent matcher 'containInAnyOrder' in the collections matcher section, fix it to 'containsAll'.
  • Loading branch information
koko-u committed Apr 23, 2017
1 parent c55f30a commit d07f9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/matchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ This page lists all current matchers in Kotlintest.
| -------- |
| `collection should beEmpty()`<br/>Asserts that the collections has zero elements. |
| `collection should contain(element)`<br/>Asserts that the collection contains the given element. |
| `collection should containInAnyOrder(e1, e2, ..., en)`<br/>Asserts that the collection contains all the elements listed, where order is not important. Ie, element 2 can be in the collection before element 1. |
| `collection should containsAll(e1, e2, ..., en)`<br/>Asserts that the collection contains all the elements listed, where order is not important. Ie, element 2 can be in the collection before element 1. |
| `collection should haveSize(length)`<br/>Asserts that the collection is exactly the given length. |
| `collection shouldBe singleElement(element)`<br/>Asserts that the collection only contains a single element and that that element is the given one. |
| `collection shouldBe sorted()`<br/>Asserts that the collection is in sorted order. |

0 comments on commit d07f9d2

Please sign in to comment.