Skip to content
Permalink
Browse files

Updated ScalaTest 3.1.0

  • Loading branch information
kiroco12 committed Dec 4, 2019
1 parent 40d5ecc commit 06e6b2e76cd35ccfe6d296200c1100ec12d789b2
@@ -16,7 +16,8 @@ lazy val fetch = (project in file("."))
%%("shapeless", V.shapeless),
%%("scalatest", V.scalatest),
%%("scalacheck", V.scalacheck),
"com.github.alexarchambault" %% "scalacheck-shapeless_1.14" % V.scalacheckShapeless
"com.github.alexarchambault" %% "scalacheck-shapeless_1.14" % V.scalacheckShapeless,
"org.scalatestplus" %% "scalatestplus-scalacheck" % V.scalatestplusScheck
)
)

@@ -18,7 +18,8 @@ object ProjectPlugin extends AutoPlugin {
val scala212: String = "2.12.10"
val cats: String = "2.0.0"
val shapeless: String = "2.3.3"
val scalatest: String = "3.0.8"
val scalatest: String = "3.1.0"
val scalatestplusScheck: String = "3.1.0.0-RC2"
val scalacheck: String = "1.14.2"
val scalacheckShapeless: String = "1.2.3"
val fetch: String = "1.2.1"
@@ -10,7 +10,8 @@ import cats.effect._
import cats.implicits._
import fetch._
import org.scalaexercises.definitions.Section
import org.scalatest.{FlatSpec, Matchers}
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers

/**
* = Batching =
@@ -21,7 +22,7 @@ import org.scalatest.{FlatSpec, Matchers}
*
* @param name batching
*/
object BatchingSection extends FlatSpec with Matchers with Section {
object BatchingSection extends AnyFlatSpec with Matchers with Section {

import FetchTutorialHelper._

@@ -10,7 +10,8 @@ import cats.effect.{Concurrent, IO}
import cats.implicits._
import fetch._
import org.scalaexercises.definitions.Section
import org.scalatest.{FlatSpec, Matchers}
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers

/**
* = Caching =
@@ -21,7 +22,7 @@ import org.scalatest.{FlatSpec, Matchers}
*
* @param name caching
*/
object CachingSection extends FlatSpec with Matchers with Section {
object CachingSection extends AnyFlatSpec with Matchers with Section {

import FetchTutorialHelper._

@@ -10,7 +10,8 @@ import cats.effect._
import cats.implicits._
import fetch._
import org.scalaexercises.definitions.Section
import org.scalatest.{FlatSpec, Matchers}
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers

/**
* = Debugging =
@@ -25,7 +26,7 @@ import org.scalatest.{FlatSpec, Matchers}
*
* @param name Debugging
*/
object DebuggingSection extends FlatSpec with Matchers with Section {
object DebuggingSection extends AnyFlatSpec with Matchers with Section {

import FetchTutorialHelper._

@@ -9,7 +9,8 @@ package fetchlib
import cats.effect._
import fetch._
import org.scalaexercises.definitions.Section
import org.scalatest.{FlatSpec, Matchers}
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers

/**
*
@@ -29,7 +30,7 @@ import org.scalatest.{FlatSpec, Matchers}
*
* @param name error_handling
*/
object ErrorHandlingSection extends FlatSpec with Matchers with Section {
object ErrorHandlingSection extends AnyFlatSpec with Matchers with Section {

import FetchTutorialHelper._

@@ -10,14 +10,15 @@ import cats.effect._
import cats.implicits._
import fetch._
import org.scalaexercises.definitions.Section
import org.scalatest.{FlatSpec, Matchers}
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers

/**
* = Syntax =
*
* @param name syntax
*/
object SyntaxSection extends FlatSpec with Matchers with Section {
object SyntaxSection extends AnyFlatSpec with Matchers with Section {

import FetchTutorialHelper._

@@ -10,7 +10,8 @@ import cats.effect._
import cats.implicits._
import fetch._
import org.scalaexercises.definitions.Section
import org.scalatest.{FlatSpec, Matchers}
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers

/**
* = Introduction =
@@ -224,7 +225,7 @@ import org.scalatest.{FlatSpec, Matchers}
*
* @param name usage
**/
object UsageSection extends FlatSpec with Matchers with Section {
object UsageSection extends AnyFlatSpec with Matchers with Section {

import FetchTutorialHelper._

0 comments on commit 06e6b2e

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