Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix test relying on ScalaTest 3.0.x #349

Merged
merged 1 commit into from
Jun 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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()
}