Skip to content

Commit 6b6e69a

Browse files
committed
add the missing checker
1 parent 5ffadf3 commit 6b6e69a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/test/java/com/poiji/bind/mapping/PoijiHandlerTest.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,22 @@ public PoijiHandlerTest(String fieldName) throws NoSuchFieldException {
2424

2525
@Parameterized.Parameters(name = "{index}: ({0})={1}")
2626
public static Iterable<Object[]> queries() {
27-
return List.of(new Object[][]{
27+
return List.of(new Object[][] {
2828
{
2929
"id"
3030
},
3131
{
3232
"author"
3333
},
34+
{ "empty" }
3435
});
3536
}
3637

3738
@Test
3839
public void shouldFindTitleColumn() {
39-
PoijiHandler<InventoryData> poijiHandler = new PoijiHandler<>(InventoryData.class, PoijiOptions.PoijiOptionsBuilder.settings().build(), o -> {});
40+
PoijiHandler<InventoryData> poijiHandler = new PoijiHandler<>(InventoryData.class,
41+
PoijiOptions.PoijiOptionsBuilder.settings().build(), o -> {
42+
});
4043

4144
Integer titleColumn = poijiHandler.findTitleColumn(annotation);
4245

0 commit comments

Comments
 (0)