Skip to content

Commit

Permalink
Merge pull request #1405 from scalacenter/dead-code
Browse files Browse the repository at this point in the history
remove dead code
  • Loading branch information
github-brice-jaglin authored May 15, 2021
2 parents e14a1b2 + 7705a82 commit e3ffeba
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ abstract class AbstractSemanticRuleSuite(
def this(props: TestkitProperties) = this(props, isSaveExpect = false)
def this() = this(TestkitProperties.loadFromResources())

private def scalaVersion: String = scala.util.Properties.versionNumberString
private def scalaVersionDirectory: Option[String] =
if (scalaVersion.startsWith("2.11")) Some("scala-2.11")
else if (scalaVersion.startsWith("2.12")) Some("scala-2.12")
else if (scalaVersion.startsWith("2.13")) Some("scala-2.13")
else None

def evaluateTestBody(diffTest: RuleTest): Unit = {
val (rule, sdoc) = diffTest.run.apply()
rule.beforeStart()
Expand Down

0 comments on commit e3ffeba

Please sign in to comment.