Provide invalid class name in exception message
See gh-31612
This commit is contained in:
committed by
Stéphane Nicoll
parent
05c3ffb2fb
commit
5ac4c3bd76
@@ -78,7 +78,7 @@ class GeneratedFilesTests {
|
||||
assertThatIllegalArgumentException()
|
||||
.isThrownBy(() -> this.generatedFiles
|
||||
.addSourceFile("com/example/HelloWorld.java", "{}"))
|
||||
.withMessage("'className' must be a valid identifier");
|
||||
.withMessage("'className' com/example/HelloWorld.java must be a valid identifier");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user