Skip to content
Permalink
Browse files

Updated scala test to 3.0.6 (#92)

  • Loading branch information...
barambani authored and sirocchj committed Mar 7, 2019
1 parent 210c0fa commit 3158c312ac5a9e77dedd87f9891a545ed4152633
@@ -12,7 +12,7 @@ val V = new {
val refined = "0.9.4"
val refined211 = "0.8.7"
val scalacheck = "1.13.5"
val scalatest = "3.0.5"
val scalatest = "3.0.6"
val `scodec-bits` = "1.1.9"
val `scodec-core` = "1.11.2"
val `scodec-stream` = "1.2.1"
@@ -1,14 +1,14 @@
package laserdisc
package interop

import io.circe.{Decoder, Encoder}
import io.circe.generic.semiauto._
import io.circe.{Decoder, Encoder}
import laserdisc.interop.circe._
import laserdisc.protocol.NonNullBulkString
import laserdisc.protocol.RESP.bulk
import org.scalacheck.{Arbitrary, Gen}
import org.scalatest.prop.PropertyChecks
import org.scalatest.{MustMatchers, OptionValues, WordSpec}
import org.scalatestplus.scalacheck.ScalaCheckPropertyChecks

sealed trait Foo extends Product with Serializable
final case class Bar(x: Int) extends Foo
@@ -27,7 +27,7 @@ object Baz {
implicit val encoder: Encoder[Baz] = deriveEncoder
}

final class CirceSpec extends WordSpec with MustMatchers with PropertyChecks with OptionValues {
final class CirceSpec extends WordSpec with MustMatchers with ScalaCheckPropertyChecks with OptionValues {
private[this] val barGen: Gen[Bar] = Arbitrary.arbitrary[Int].map(Bar.apply)
private[this] val bazGen: Gen[Baz] = for {
s <- Arbitrary.arbitrary[String]
@@ -6,8 +6,8 @@ import java.nio.charset.StandardCharsets.UTF_8
import org.scalacheck.Arbitrary.arbitrary
import org.scalacheck.Gen.{chooseNum, listOfN, option, oneOf => genOneOf}
import org.scalacheck.{Arbitrary, Gen}
import org.scalatest.prop.PropertyChecks
import org.scalatest.{EitherValues, MustMatchers, WordSpec}
import org.scalatestplus.scalacheck.ScalaCheckPropertyChecks
import scodec.bits.BitVector
import scodec.{Codec, Err}

@@ -56,9 +56,9 @@ object RESPCodecsSpec extends EitherValues {
}
}

final class RESPCodecsSpec extends WordSpec with MustMatchers with PropertyChecks with EitherValues {
import RESPCodecsSpec._
final class RESPCodecsSpec extends WordSpec with MustMatchers with ScalaCheckPropertyChecks with EitherValues {
import RESP._
import RESPCodecsSpec._

private[this] val smallListSize = chooseNum(0, 20)
private[this] implicit def invalidProtocolDiscriminator: Gen[InvalidDiscriminator] = {
@@ -3,11 +3,11 @@ package laserdisc.protocol
import eu.timepit.refined.types.string.NonEmptyString
import laserdisc.OneOrMore
import org.scalacheck.{Arbitrary, Gen}
import org.scalatest.prop.PropertyChecks
import org.scalatest.{Matchers, WordSpecLike}
import org.scalatestplus.scalacheck.ScalaCheckPropertyChecks
import scodec.bits.BitVector

final class RESPFrameMixedSpec extends WordSpecLike with Matchers with PropertyChecks {
final class RESPFrameMixedSpec extends WordSpecLike with Matchers with ScalaCheckPropertyChecks {

"A non empty mixed Frame" when {

0 comments on commit 3158c31

Please sign in to comment.
You can’t perform that action at this time.