Skip to content

Commit

Permalink
Merge pull request #349 from bjaglin/fixscripted
Browse files Browse the repository at this point in the history
fix test relying on ScalaTest 3.0.x
  • Loading branch information
bjaglin authored Jun 3, 2023
2 parents 82632cc + d2782e9 commit b0a4266
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package fix

import scalafix.testkit._
import scala.util.control.NonFatal
import org.scalatest.FunSuiteLike
import org.scalatest.funsuite.AnyFunSuiteLike
import org.scalatest.exceptions.TestFailedException

object IntputOutputSuite {
def main(args: Array[String]): Unit = {
if (Array("--save-expect").sameElements(args)) {
val suite = new AbstractSemanticRuleSuite with FunSuiteLike {
val suite = new AbstractSemanticRuleSuite with AnyFunSuiteLike {
override val props = TestkitProperties.loadFromResources()
override val isSaveExpect = true

Expand All @@ -30,6 +30,6 @@ object IntputOutputSuite {
}
}

class IntputOutputSuite extends AbstractSemanticRuleSuite with FunSuiteLike {
class IntputOutputSuite extends AbstractSemanticRuleSuite with AnyFunSuiteLike {
runAllTests()
}

0 comments on commit b0a4266

Please sign in to comment.