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

Commit 8a008ad

Browse files
committed
unused警告を抑制
1 parent 1c2b33b commit 8a008ad

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/test/kotlin/com/mapk/kmapper/SimpleKMapperTest.kt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,10 @@ class SimpleKMapperTest {
218218

219219
@ParameterizedTest(name = "Nullを含まない場合")
220220
@MethodSource("boundKMapperProvider")
221-
fun testWithoutNull(name: String, mapper: BoundKMapper<Src1, SimpleDst>) {
221+
fun testWithoutNull(
222+
@Suppress("UNUSED_PARAMETER") name: String,
223+
mapper: BoundKMapper<Src1, SimpleDst>
224+
) {
222225
val stringValue = "value"
223226

224227
val src = Src1(stringValue)
@@ -232,7 +235,10 @@ class SimpleKMapperTest {
232235

233236
@ParameterizedTest(name = "Nullを含む場合")
234237
@MethodSource("boundKMapperProvider")
235-
fun testContainsNull(name: String, mapper: BoundKMapper<Src1, SimpleDst>) {
238+
fun testContainsNull(
239+
@Suppress("UNUSED_PARAMETER") name: String,
240+
mapper: BoundKMapper<Src1, SimpleDst>
241+
) {
236242
val src = Src1(null)
237243

238244
val dst = mapper.map(src)

0 commit comments

Comments
 (0)