Commit f54c4668 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

scalariform

parent 193e5aa7
package eu.nomad_lab.parsers
import eu.{nomad_lab => lab}
import org.{json4s => jn}
import eu.{ nomad_lab => lab }
import org.{ json4s => jn }
import scala.collection.breakOut
object GpawParser extends SimpleExternalParserGenerator(
......@@ -10,7 +10,8 @@ object GpawParser extends SimpleExternalParserGenerator(
("parserId" -> jn.JString("GpawParser" + lab.GpawVersionInfo.version)) ::
("versionInfo" -> jn.JObject(
("nomadCoreVersion" -> jn.JString(lab.NomadCoreVersionInfo.version)) ::
(lab.GpawVersionInfo.toMap.map{ case (key, value) =>
(lab.GpawVersionInfo.toMap.map {
case (key, value) =>
(key -> jn.JString(value.toString))
}(breakOut): List[(String, jn.JString)])
)) :: Nil
......
......@@ -2,8 +2,6 @@ package eu.nomad_lab.parsers
import org.specs2.mutable.Specification
object GpawParserSpec extends Specification {
"GpawParserTest" >> {
"test with json-events" >> {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment