Repository navigation
Commit 0f061d6
committed
Mismatch description for AllOf changes to be consistent with other matchers.
Example:
is(2) against 3, would give a description of: was <3>
allOf(is(greaterThan(2)), is(equalTo(4))) against 3, normally gives a
mismatchDescription consisting of the description followed by the
mismatched value, as in:
(is a value greater than <2> and is <4>) was <3>
It now only resturns the actual mismatch as for most other matchers:
was <3>1 parent 4c4c3fa commit 0f061d6
4 files changed
Lines changed: 4 additions & 5 deletions
File tree
- hamcrest-core/src
- main/java/org/hamcrest/core
- test/java/org/hamcrest/core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
0 commit comments