Skip to content

Commit

Permalink
Merge pull request #223 from alexbalonperin/update_scalatest
Browse files Browse the repository at this point in the history
update scalatest to 3.1.2
  • Loading branch information
gvolpe authored May 20, 2020
2 parents 9814a32 + 4937d1f commit 66b7c2f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions core/src/test/scala/dev/profunktor/tracer/TracerSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import org.http4s._
import org.http4s.client.dsl.io._
import org.http4s.dsl.io._
import org.http4s.implicits._
import org.scalatest.FunSuite
import org.scalatestplus.scalacheck.{ScalaCheckPropertyChecks => PropertyChecks}
import org.scalatest.funsuite.AnyFunSuite
import org.scalatest.prop.{TableDrivenPropertyChecks => PropertyChecks}

class TracerSpec extends FunSuite with TracerFixture {
class TracerSpec extends AnyFunSuite with PropertyChecks with TracerFixture {

forAll(examples) { (name, request, tracer, assertions) =>
test(name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ import cats.effect.IO
import dev.profunktor.tracer.IOAssertion
import org.http4s.client.dsl.Http4sClientDsl
import org.http4s.{HttpRoutes, Request, Status}
import org.scalatest.{Assertion, FunSuite}
import org.scalatest.Assertion
import org.scalatest.funsuite.AnyFunSuite
import org.scalatest.prop.TableFor3
import org.scalatestplus.scalacheck.{ScalaCheckPropertyChecks => PropertyChecks}
import org.scalatest.prop.{TableDrivenPropertyChecks => PropertyChecks}

class HttpRoutesSpec extends FunSuite with PropertyChecks with Http4sClientDsl[IO] {
class HttpRoutesSpec extends AnyFunSuite with PropertyChecks with Http4sClientDsl[IO] {

def propertySpec(requests: TableFor3[String, IO[Request[IO]], Status], routes: HttpRoutes[IO]): Unit =
forAll(requests) { (description, request, expectedStatus) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@

package dev.profunktor.tracer.program

import scala.concurrent.ExecutionContext

import cats.effect.{ContextShift, IO}
import dev.profunktor.tracer.IOAssertion
import dev.profunktor.tracer.http.client.TestUserRegistry
import dev.profunktor.tracer.IOAssertion
import dev.profunktor.tracer.model.user.{User, Username}
import dev.profunktor.tracer.repository.TestUserRepository
import org.scalatest.FunSuite

import scala.concurrent.ExecutionContext
import org.scalatest.funsuite.AnyFunSuite

class UserProgramSpec extends FunSuite {
class UserProgramSpec extends AnyFunSuite {

implicit val cs: ContextShift[IO] = IO.contextShift(ExecutionContext.global)

Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ object Dependencies {
val zioCats = "2.0.0.0-RC14"

// Test
val scalaTest = "3.0.8"
val scalaTest = "3.1.2"
val scalaCheck = "1.14.3"

// Compiler
Expand Down

0 comments on commit 66b7c2f

Please sign in to comment.