Skip to content

Commit

Permalink
Fix test deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Aug 3, 2022
1 parent d1be12d commit 5d8e4dd
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ package com.typesafe.tools.mima.lib
import scala.reflect.io.Path
import scala.util.{ Failure, Success, Try }

import munit.GenericTest

object UnitTests {
def main(args: Array[String]): Unit = TestCli.argsToTests(args.toList, runTestCase).unsafeRunTest()
def munitTests(): List[GenericTest[Unit]] = TestCli.argsToTests(Nil, runTestCase).munitTests
def main(args: Array[String]): Unit = TestCli.argsToTests(args.toList, runTestCase).unsafeRunTest()
def munitTests(): List[munit.Test] = TestCli.argsToTests(Nil, runTestCase).munitTests

def runTestCase(testCase: TestCase): Try[Unit] = for {
() <- runTestCaseIf(testCase, Backwards)
Expand Down

0 comments on commit 5d8e4dd

Please sign in to comment.