From d74b2c333b58985e369d5f9a3a3569aeadb2d5b3 Mon Sep 17 00:00:00 2001 From: keyno63 Date: Wed, 8 Jan 2025 07:34:05 +0900 Subject: [PATCH] update scalatest version --- .../testing-scala-in-intellij-with-scalatest.md | 2 +- _overviews/scala-book/sbt-scalatest-tdd.md | 4 ++-- _overviews/scala3-book/tools-sbt.md | 2 +- _overviews/scala3-migration/tutorial-prerequisites.md | 2 +- .../testing-scala-in-intellij-with-scalatest.md | 2 +- _ru/scala3/book/tools-sbt.md | 2 +- .../testing-scala-in-intellij-with-scalatest.md | 2 +- _zh-cn/overviews/scala3-book/tools-sbt.md | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/_overviews/getting-started/intellij-track/testing-scala-in-intellij-with-scalatest.md b/_overviews/getting-started/intellij-track/testing-scala-in-intellij-with-scalatest.md index e7af916a8d..8a51eca2e0 100644 --- a/_overviews/getting-started/intellij-track/testing-scala-in-intellij-with-scalatest.md +++ b/_overviews/getting-started/intellij-track/testing-scala-in-intellij-with-scalatest.md @@ -20,7 +20,7 @@ This assumes you know [how to build a project in IntelliJ](building-a-scala-proj 1. Add the ScalaTest dependency: 1. Add the ScalaTest dependency to your `build.sbt` file: ``` - libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.11" % Test + libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.19" % Test ``` 1. If you get a notification "build.sbt was changed", select **auto-import**. 1. These two actions will cause `sbt` to download the ScalaTest library. diff --git a/_overviews/scala-book/sbt-scalatest-tdd.md b/_overviews/scala-book/sbt-scalatest-tdd.md index 83776d3712..dbdbeeb53c 100644 --- a/_overviews/scala-book/sbt-scalatest-tdd.md +++ b/_overviews/scala-book/sbt-scalatest-tdd.md @@ -39,7 +39,7 @@ version := "1.0" scalaVersion := "{{site.scala-version}}" libraryDependencies += - "org.scalatest" %% "scalatest" % "3.2.11" % Test + "org.scalatest" %% "scalatest" % "3.2.19" % Test ``` @@ -47,7 +47,7 @@ The first three lines of this file are essentially the same as the first example ```scala libraryDependencies += - "org.scalatest" %% "scalatest" % "3.2.11" % Test + "org.scalatest" %% "scalatest" % "3.2.19" % Test ``` >The ScalaTest documentation has always been good, and you can always find the up to date information on what those lines should look like on the [Installing ScalaTest](http://www.scalatest.org/install) page. diff --git a/_overviews/scala3-book/tools-sbt.md b/_overviews/scala3-book/tools-sbt.md index b68ae6632f..34c471f546 100644 --- a/_overviews/scala3-book/tools-sbt.md +++ b/_overviews/scala3-book/tools-sbt.md @@ -369,7 +369,7 @@ version := "0.1" scalaVersion := "{{site.scala-3-version}}" libraryDependencies ++= Seq( - "org.scalatest" %% "scalatest" % "3.2.9" % Test + "org.scalatest" %% "scalatest" % "3.2.19" % Test ) ``` diff --git a/_overviews/scala3-migration/tutorial-prerequisites.md b/_overviews/scala3-migration/tutorial-prerequisites.md index 426377f669..31ae3e79d1 100644 --- a/_overviews/scala3-migration/tutorial-prerequisites.md +++ b/_overviews/scala3-migration/tutorial-prerequisites.md @@ -46,7 +46,7 @@ The dependency to `"scalatest" %% "scalatest" % "3.0.9"` must be upgraded becaus We can upgrade it to version `3.2.7`, which is cross-published in Scala 2.13 and Scala 3. ```scala -libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.7" +libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.19" ``` ## Compiler plugins diff --git a/_ru/getting-started/intellij-track/testing-scala-in-intellij-with-scalatest.md b/_ru/getting-started/intellij-track/testing-scala-in-intellij-with-scalatest.md index 6de67726fb..7a2ffef8fe 100644 --- a/_ru/getting-started/intellij-track/testing-scala-in-intellij-with-scalatest.md +++ b/_ru/getting-started/intellij-track/testing-scala-in-intellij-with-scalatest.md @@ -18,7 +18,7 @@ previous-page: /ru/building-a-scala-project-with-intellij-and-sbt 1. Добавьте зависимость ScalaTest: 1. Добавьте зависимость ScalaTest в свой файл `build.sbt`: ``` - libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.11" % Test + libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.19" % Test ``` 1. Если вы получили уведомление "build.sbt was changed", выберите **auto-import**. 1. Эти два действия заставят `sbt` подгрузить библиотеки ScalaTest. diff --git a/_ru/scala3/book/tools-sbt.md b/_ru/scala3/book/tools-sbt.md index be70b9b050..27c838ca80 100644 --- a/_ru/scala3/book/tools-sbt.md +++ b/_ru/scala3/book/tools-sbt.md @@ -365,7 +365,7 @@ version := "0.1" scalaVersion := "{{site.scala-3-version}}" libraryDependencies ++= Seq( - "org.scalatest" %% "scalatest" % "3.2.9" % Test + "org.scalatest" %% "scalatest" % "3.2.19" % Test ) ``` diff --git a/_uk/getting-started/intellij-track/testing-scala-in-intellij-with-scalatest.md b/_uk/getting-started/intellij-track/testing-scala-in-intellij-with-scalatest.md index de7135cf1b..b2e1a9f801 100644 --- a/_uk/getting-started/intellij-track/testing-scala-in-intellij-with-scalatest.md +++ b/_uk/getting-started/intellij-track/testing-scala-in-intellij-with-scalatest.md @@ -18,7 +18,7 @@ previous-page: /uk/building-a-scala-project-with-intellij-and-sbt 1. Додайте залежність ScalaTest: 1. Додайте залежність ScalaTest у файл `build.sbt` вашого проєкту: ``` - libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.11" % Test + libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.19" % Test ``` 1. Ви побачите сповіщення "build.sbt was changed", оберіть **auto-import**. 1. Ці дві дії призведуть до того, що `sbt` завантажить бібліотеку ScalaTest. diff --git a/_zh-cn/overviews/scala3-book/tools-sbt.md b/_zh-cn/overviews/scala3-book/tools-sbt.md index d77b8d6286..0d9b5ab08d 100644 --- a/_zh-cn/overviews/scala3-book/tools-sbt.md +++ b/_zh-cn/overviews/scala3-book/tools-sbt.md @@ -361,7 +361,7 @@ version := "0.1" scalaVersion := "{{site.scala-3-version}}" libraryDependencies ++= Seq( - "org.scalatest" %% "scalatest" % "3.2.9" % Test + "org.scalatest" %% "scalatest" % "3.2.19" % Test ) ```