Skip to content

Commit

Permalink
Update scalatest to 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
scala-steward committed Dec 8, 2019
1 parent 27dad0f commit 4a41673
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
*/
package play.twirl.api.test

import org.scalatest.MustMatchers
import org.scalatest.WordSpec
import play.twirl.api._

import scala.collection.immutable
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class BufferedContentSpec extends WordSpec with MustMatchers {
class BufferedContentSpec extends AnyWordSpec with Matchers {

"equality checking" should {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
package play.twirl.api
package test

import org.scalatest.MustMatchers
import org.scalatest.WordSpec
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class FormatSpec extends WordSpec with MustMatchers {
class FormatSpec extends AnyWordSpec with Matchers {

"Formats" should {
"show null text values as empty" in {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import java.util.ArrayList
import java.util.Optional
import java.util.{ List => JList }

import org.scalatest.MustMatchers
import org.scalatest.WordSpec
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class StringInterpolationSpec extends WordSpec with MustMatchers {
class StringInterpolationSpec extends AnyWordSpec with Matchers {

"StringInterpolation" should {
"leave string parts untouched" in {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ package test

import java.io._

import org.scalatest.MustMatchers
import org.scalatest.WordSpec
import play.twirl.api.Html
import play.twirl.parser.TwirlIO
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class CompilerSpec extends WordSpec with MustMatchers {
class CompilerSpec extends AnyWordSpec with Matchers {

import Helper._

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
package play.twirl.compiler
package test

import org.scalatest.MustMatchers
import org.scalatest.WordSpec
import play.twirl.api._

import scala.collection.immutable
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class TemplateUtilsSpec extends WordSpec with MustMatchers {
class TemplateUtilsSpec extends AnyWordSpec with Matchers {

"Templates" should {

Expand Down
6 changes: 3 additions & 3 deletions parser/src/test/scala/play/twirl/parser/test/ParserSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ package play.twirl.parser
package test

import org.scalatest.Inside
import org.scalatest.MustMatchers
import org.scalatest.WordSpec
import play.twirl.parser.TreeNodes._
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class ParserSpec extends WordSpec with MustMatchers with Inside {
class ParserSpec extends AnyWordSpec with Matchers with Inside {

val parser = new TwirlParser(shouldParseInclusiveDot = false)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ package play.twirl.sbt
package test

import org.scalatest.Inspectors
import org.scalatest.MustMatchers
import org.scalatest.WordSpec
import play.twirl.sbt.TemplateProblem.TemplateMapping
import play.twirl.sbt.TemplateProblem.TemplateMapping.Location
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class TemplateMappingSpec extends WordSpec with MustMatchers with Inspectors {
class TemplateMappingSpec extends AnyWordSpec with Matchers with Inspectors {

"TemplateMapping" should {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import java.io.File
import play.twirl.sbt.TemplateProblem.TemplateMapping
import play.twirl.sbt.TemplateProblem.TemplatePosition
import org.scalatest.Inspectors
import org.scalatest.MustMatchers
import org.scalatest.WordSpec
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class TemplatePositionSpec extends WordSpec with MustMatchers with Inspectors {
class TemplatePositionSpec extends AnyWordSpec with Matchers with Inspectors {

"TemplatePosition" should {

Expand Down

0 comments on commit 4a41673

Please sign in to comment.