Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit 0622606

Browse files
committed
簡略化を反映
1 parent 8dd3abc commit 0622606

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/kotlin/com/mapk/krowmapper/SimpleMappingTest.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.mapk.krowmapper
22

33
import com.google.common.base.CaseFormat
4-
import com.mapk.core.KFunctionForCall
54
import io.mockk.every
65
import io.mockk.mockk
76
import io.mockk.verify
@@ -23,7 +22,7 @@ class SimpleMappingTest {
2322
every { resultSet.getObject("foo_id", any<Class<*>>()) } returns 1
2423
every { resultSet.getObject("str_value", any<Class<*>>()) } returns "str"
2524

26-
val result = KRowMapper(KFunctionForCall(::Dst), this::camelToSnake).mapRow(resultSet, 0)
25+
val result = KRowMapper(::Dst, this::camelToSnake).mapRow(resultSet, 0)
2726

2827
assertEquals(1, result.fooId)
2928
assertEquals("str", result.strValue)

0 commit comments

Comments
 (0)