Skip to content

Commit

Permalink
doc: Fix typo in matcher documentation (#3027)
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor18 authored and monperrus committed Jun 20, 2019
1 parent 4634715 commit 9b994b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/matcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if (c.size() > 10)
throw new IndexOutOfBoundsException();
---
//foo() returns a collection
if (foo() > 10)
if (foo().size() > 10)
throw new IndexOutOfBoundsException();
```
Expand All @@ -42,7 +42,6 @@ public class CheckBoundMatcher {
public void matcher1() {
if (_col_.S().size() > 10)
throw new IndexOutOfBoundsException();
}
}
}
Expand Down

0 comments on commit 9b994b0

Please sign in to comment.