Skip to content

Commit 004f254

Browse files
committed
Suppress unused variable warning in test
1 parent 18b1ae6 commit 004f254

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/kotlin/com/xenomachina/argparser/ArgParserTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,6 +1492,7 @@ class ParseIntoIllegalStateTest : Test ({
14921492

14931493
shouldThrow<IllegalStateException> {
14941494
val parser = parserOf("--str=foo")
1495+
@Suppress("unused_variable")
14951496
val oops by parser.storing("--oops", help = TEST_HELP).default("oops")
14961497
parser.parseInto(::Args)
14971498
}

0 commit comments

Comments
 (0)