Skip to content

Commit

Permalink
upgrade specs2 to 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Mar 6, 2018
1 parent 3b9547b commit 68b79ce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/user/src/test/UserTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import org.specs2.mutable.Specification
class UserTest extends Specification {

def canSignup(str: User.ID) =
User.newUsernamePrefix.pattern.matcher(str).matches && User.newUsernameSuffix.pattern.matcher(str).matches && User.newUsernameChars.pattern.matcher(str).matches
User.newUsernamePrefix.pattern.matcher(str).matches && User.newUsernameSuffix.pattern.matcher(str).matches && User.newUsernameChars.pattern.matcher(str).matches

"username regex" in {
import User.couldBeUsername
Expand Down
2 changes: 1 addition & 1 deletion project/BuildSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object BuildSettings {
.setPreference(DanglingCloseParenthesis, Force)
.setPreference(DoubleIndentConstructorArguments, true)

def defaultDeps = Seq(scalaz, chess, scalalib, jodaTime, ws, java8compat, specs2)
def defaultDeps = Seq(scalaz, chess, scalalib, jodaTime, ws, java8compat, specs2, specs2Scalaz)

def compile(deps: ModuleID*): Seq[ModuleID] = deps map (_ % "compile")
def provided(deps: ModuleID*): Seq[ModuleID] = deps map (_ % "provided")
Expand Down
3 changes: 2 additions & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ object Dependencies {
val scaffeine = "com.github.blemale" %% "scaffeine" % "2.2.0" % "compile"
val netty = "io.netty" % "netty" % "3.10.6.Final"
val guava = "com.google.guava" % "guava" % "21.0"
val specs2 = "org.specs2" %% "specs2-core" % "3.9.2" % "test"
val specs2 = "org.specs2" %% "specs2-core" % "4.0.2" % "test"
val specs2Scalaz = "org.specs2" %% "specs2-scalaz" % "4.0.2" % "test"
val jwt = "com.pauldijou" %% "jwt-core" % "0.14.1"

object reactivemongo {
Expand Down

0 comments on commit 68b79ce

Please sign in to comment.