We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a52b7db commit 88a1316Copy full SHA for 88a1316
1 file changed
boat-scaffold/src/test/java/org/openapitools/codegen/languages/BoatSwift5CodegenTests.java
@@ -333,7 +333,7 @@ void testPostProcessAllModels() {
333
@Test
334
void test_processOptsThrowsWhenProjectNameIsInvalid() {
335
boatSwift5CodeGen.additionalProperties().put("projectName","SomethingClient");
336
- RuntimeException exception = assertThrows(RuntimeException.class, () -> boatSwift5CodeGen.processOpts());
+ IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> boatSwift5CodeGen.processOpts());
337
assertEquals("SomethingClient is not valid. projectName should end with `API or `Api`", exception.getMessage());
338
}
339
0 commit comments