Skip to content

Commit 3108954

Browse files
authored
Fix overeager Scala version docs tests (#2750)
1 parent 24510dd commit 3108954

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/cookbooks/introduction/scala-versions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ and this:
7575
scala-cli -S 2.12 ScalaVersion.scala
7676
```
7777
<!-- Expected-regex:
78-
Scala: 2\.12\.18
78+
Scala: 2\.12\.
7979
-->
8080

8181
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).
@@ -103,7 +103,7 @@ scala-cli ScalaVersion.scala version.scala
103103
```
104104

105105
<!-- Expected-regex:
106-
Scala: 2\.12\.18
106+
Scala: 2\.12\.
107107
-->
108108

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

0 commit comments

Comments
 (0)