Skip to content

different versions on the example of libraryDependencies #1676

Closed
@marcelo-rosa

Description

@marcelo-rosa

Reading the page

https://docs.scala-lang.org/overviews/scala-book/sbt-scalatest-tdd.html

I saw a conflict in the proposed example in the section Creating the build.sbt file

libraryDependencies ++= Seq(
    "org.scalactic" %% "scalactic" % "3.0.8",
    "org.scalatest" %% "scalatest" % "3.0.8" % "test"
)

and

libraryDependencies ++= Seq(
    "org.scalactic" %% "scalactic" % "3.0.4",
    "org.scalatest" %% "scalatest" % "3.0.4" % "test"
)

I suggest unifying the presented versions so people (like me) that are learning Scala does not get confused about versions 3.0.4 and 3.0.8 in this example. Just pick one of them.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions