Skip to content

Commit

Permalink
Replace beTheSame with ==
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Obedin committed Oct 21, 2015
1 parent ef9160c commit 7eceb30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extractor/src/test/scala/org/jetbrains/sbt/ImportSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class ImportSpec extends Specification with XmlMatchers {
val SbtVersion = System.getProperty("structure.sbtversion.short")
val SbtVersionFull = System.getProperty("structure.sbtversion.full")
val ScalaVersion = System.getProperty("structure.scalaversion")

val PluginFile = new File("extractor/target/scala-" + ScalaVersion + "/sbt-" + SbtVersionFull +"/classes/")
val TestDataRoot = new File("extractor/src/test/data/" + SbtVersion)
val AndroidHome = Option(System.getenv.get("ANDROID_HOME")).map(normalizePath)
Expand Down Expand Up @@ -76,7 +77,7 @@ class ImportSpec extends Specification with XmlMatchers {
formatErrorMessage(errorMessage, prettyPrintCaseClass(expected), prettyPrintCaseClass(actual))
}

actual must beTheSameAs(expected).setMessage(onEqualsFail)
(actual == expected) must beTrue.setMessage(onEqualsFail)
actualXml must beEqualToIgnoringSpace(expectedXml).setMessage(onXmlFail)
}

Expand Down

0 comments on commit 7eceb30

Please sign in to comment.