Skip to content

Commit

Permalink
Fix overeager Scala version docs tests (#2750)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gedochao committed Feb 22, 2024
1 parent 24510dd commit 3108954
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/cookbooks/introduction/scala-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ and this:
scala-cli -S 2.12 ScalaVersion.scala
```
<!-- Expected-regex:
Scala: 2\.12\.18
Scala: 2\.12\.
-->

In the first example (`-S 2`), the application picks up the latest Scala 2 stable release (`2.13.9` at the time of this writing).
Expand Down Expand Up @@ -103,7 +103,7 @@ scala-cli ScalaVersion.scala version.scala
```

<!-- Expected-regex:
Scala: 2\.12\.18
Scala: 2\.12\.
-->

The output at the time of this writing is "`2.12.18`".
Expand Down

0 comments on commit 3108954

Please sign in to comment.