Commit c9cd3bd
authored
Fix UsesType precondition pattern in KotlinTestMethodsShouldReturnUnit (#1022)
UsesType matches against fully qualified type names, but the precondition was
given the two-token "org..* *Test*" pattern that AnnotationMatcher uses. That
only ever matched because of a TypeNameMatcher bug where a ..* token followed by
a suffix matched every name, fixed upstream in #8012. Use a valid single-token
glob org.junit..*Test* for the UsesType precondition; the AnnotationMatcher
pattern is unchanged.1 parent a602b44 commit c9cd3bd
1 file changed
Lines changed: 4 additions & 1 deletion
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
50 | | - | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
0 commit comments