diff --git a/src/test/scala/org/bitcoins/script/interpreter/ScriptInterpreterTest.scala b/src/test/scala/org/bitcoins/script/interpreter/ScriptInterpreterTest.scala index d28d54a2f6..0c733a17a0 100644 --- a/src/test/scala/org/bitcoins/script/interpreter/ScriptInterpreterTest.scala +++ b/src/test/scala/org/bitcoins/script/interpreter/ScriptInterpreterTest.scala @@ -29,15 +29,15 @@ class ScriptInterpreterTest extends FlatSpec with MustMatchers with ScriptInterp val source = scala.io.Source.fromFile("src/test/scala/org/scalacoin/script/interpreter/script_tests.json") //use this to represent a single test case from script_valid.json - val lines = +/* val lines = """ | |[["1", "0x616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161", "P2SH,STRICTENC", "201 opcodes executed. 0x61 is NOP"]] - """.stripMargin - //val lines = try source.getLines.filterNot(_.isEmpty).map(_.trim) mkString "\n" finally source.close() + """.stripMargin*/ + val lines = try source.getLines.filterNot(_.isEmpty).map(_.trim) mkString "\n" finally source.close() val json = lines.parseJson val testCasesOpt : Seq[Option[CoreTestCase]] = json.convertTo[Seq[Option[CoreTestCase]]] val testCases : Seq[CoreTestCase] = testCasesOpt.flatten