Skip to content

Commit

Permalink
fixed the build on scala 2.10
Browse files Browse the repository at this point in the history
MansurAshraf committed Feb 5, 2014

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 7d4f04c commit da70498
Showing 1 changed file with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ package com.twitter.bijection.json4s

import org.scalacheck.Properties
import com.twitter.bijection.{Injection, BaseProperties}
import Json4sInjections._

import org.json4s.JsonAST._
import org.json4s.JsonAST.JString

@@ -51,7 +51,16 @@ with BaseProperties {

def roundTripJValueToString(implicit inj: Injection[JValue, String]) = isLooseInjection[JValue, String]

property("round trip Case Class to Json") = roundTripCaseClassToJson
property("round trip Case Class to JValue") = roundTripCaseClassToJValue
property("round trip JValue to String") = roundTripJValueToString
property("round trip Case Class to Json") = {
import Json4sInjections.caseClass2Json
roundTripCaseClassToJson
}
property("round trip Case Class to JValue") = {
import Json4sInjections.caseClass2JValue
roundTripCaseClassToJValue
}
property("round trip JValue to String") = {
import Json4sInjections.jvalue2Json
roundTripJValueToString
}
}

0 comments on commit da70498

Please sign in to comment.