Aligh test data with JDK 15 reflection output
This commit is contained in:
+2
-2
@@ -23,7 +23,7 @@ class C {
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
assertTrue("\\[@Anno\\(value=void(\\.class)?\\)\\]".toRegex().matches(C::f1.annotations.toString()))
|
||||
assertTrue("\\[@Anno\\(value=(class )?java.lang.Void(\\.class)?\\)\\]".toRegex().matches(C::f2.annotations.toString()))
|
||||
assertTrue("\\[@Anno\\((value=)?void(\\.class)?\\)\\]".toRegex().matches(C::f1.annotations.toString()))
|
||||
assertTrue("\\[@Anno\\((value=)?(class )?java.lang.Void(\\.class)?\\)\\]".toRegex().matches(C::f2.annotations.toString()))
|
||||
return "OK"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user