Skip to content

Commit 21f0446

Browse files
committed
Remove unnecessary run invocations in some tests
1 parent 0412d09 commit 21f0446

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ class ParseIntoUnrecognizedOptionFailureTest : Test({
14711471

14721472
shouldThrow<UnrecognizedOptionException> {
14731473
parserOf("--str=foo", "--eggs=bacon").parseInto(::Args)
1474-
}.run { }
1474+
}
14751475
})
14761476

14771477
class ParseIntoMissingValueFailureTest : Test({
@@ -1482,7 +1482,7 @@ class ParseIntoMissingValueFailureTest : Test({
14821482

14831483
shouldThrow<MissingValueException> {
14841484
parserOf("--str=foo").parseInto(::Args)
1485-
}.run { }
1485+
}
14861486
})
14871487

14881488
class ParseIntoIllegalStateTest : Test ({
@@ -1494,7 +1494,7 @@ class ParseIntoIllegalStateTest : Test ({
14941494
val parser = parserOf("--str=foo")
14951495
val oops by parser.storing("--oops", help = TEST_HELP).default("oops")
14961496
parser.parseInto(::Args)
1497-
}.run { }
1497+
}
14981498
})
14991499

15001500
class Issue15Test : Test({

0 commit comments

Comments
 (0)