mirror of
https://github.com/jlengrand/picocli.git
synced 2026-03-10 08:41:17 +00:00
[#1151] Fix broken test on Java9+
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
asciidoctorGradlePluginVersion = 1.6.1
|
||||
compileTestingVersion = 0.17
|
||||
compileTestingVersion = 0.18
|
||||
gradleBintrayPluginVersion = 1.+
|
||||
groovyVersion = 2.4.10
|
||||
hamcrestCoreVersion = 1.3
|
||||
|
||||
@@ -140,7 +140,10 @@ public class AbstractCommandSpecProcessorTest {
|
||||
"@Unmatched must be of type String[] or List<String> but was: int",
|
||||
"@Unmatched must be of type String[] or List<String> but was: java.lang.Integer"
|
||||
));
|
||||
validateErrorMessages(compilation, expected);
|
||||
List<String> reportedTwiceOnJava9Plus = new ArrayList<>(Arrays.asList(
|
||||
"@Mixin must have a declared type, not int"
|
||||
));
|
||||
validateErrorMessages(compilation, expected, reportedTwiceOnJava9Plus);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user