Skip to content

Commit e280f3f

Browse files
committed
Add missing test
1 parent b5dfa54 commit e280f3f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/test/java/org/apache/commons/cli/TypeHandlerTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,11 @@ public void testCreateFile() {
210210
assertEquals(file, TypeHandler.createFile(file.toString()));
211211
}
212212

213+
@Test
214+
public void testCreateFiles() {
215+
assertThrows(UnsupportedOperationException.class, () -> TypeHandler.createFiles(null));
216+
}
217+
213218
@Test
214219
public void testCreateURL() throws ParseException, MalformedURLException {
215220
final URL file = Paths.get("").toAbsolutePath().toUri().toURL();

0 commit comments

Comments
 (0)