Commit 36bb005
Improve assertion failure message in TestClassPredicatesTests
The recursiveHierarchies() test currently fails when running in Eclipse
IDE, but the failure message does not indicate what the expected
message is for the expected JUnitException.
This commit therefore updates the assertion to check the exception
message to help with diagnostics.
(cherry picked from commit 3c5b457)1 parent 2c86dfa commit 36bb005
1 file changed
Lines changed: 7 additions & 2 deletions
File tree
- jupiter-tests/src/test/java/org/junit/jupiter/engine/discovery/predicates
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | | - | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
222 | 226 | | |
223 | 227 | | |
224 | 228 | | |
| |||
404 | 408 | | |
405 | 409 | | |
406 | 410 | | |
| 411 | + | |
407 | 412 | | |
408 | 413 | | |
409 | 414 | | |
| |||
0 commit comments