diff options
Diffstat (limited to 'src/test/scala/firrtlTests/options/OptionParserSpec.scala')
| -rw-r--r-- | src/test/scala/firrtlTests/options/OptionParserSpec.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/firrtlTests/options/OptionParserSpec.scala b/src/test/scala/firrtlTests/options/OptionParserSpec.scala index b8efbdb6..e93c9b2c 100644 --- a/src/test/scala/firrtlTests/options/OptionParserSpec.scala +++ b/src/test/scala/firrtlTests/options/OptionParserSpec.scala @@ -40,7 +40,7 @@ class OptionParserSpec extends AnyFlatSpec with Matchers with firrtl.testutils.U catchStatus { parser.terminate(Left("some message")) } should be (Left(1)) info("exit status of 0 for success") - catchStatus { parser.terminate(Right(Unit)) } should be (Left(0)) + catchStatus { parser.terminate(Right(())) } should be (Left(0)) } it should "print to stderr on an invalid option" in new WithIntParser { @@ -56,7 +56,7 @@ class OptionParserSpec extends AnyFlatSpec with Matchers with firrtl.testutils.U catchStatus { parser.terminate(Left("some message")) } should be (Right(())) info("no exit for success") - catchStatus { parser.terminate(Right(Unit)) } should be (Right(())) + catchStatus { parser.terminate(Right(())) } should be (Right(())) } behavior of "An OptionParser with DuplicateHandling mixed in" |
