Skip to content

Commit

Permalink
Fix overeager Scala version docs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Gedochao committed Feb 21, 2024
1 parent 9ba31b0 commit fae12de
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 fae12de

Please sign in to comment.