Skip to content

Commit 96e0009

Browse files
committed
Updated the quick start guide command for Scala 3 on the main page.
1 parent cf62801 commit 96e0009

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/views/index.scala.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@
7575

7676
<pre class="scala">
7777
$ CLASSPATH=scalatest-app_@{majorMinorScalaVersion}-@{latestVersion}.jar:scala-xml_@{majorMinorScalaVersion}-2.1.0.jar
78-
$ scala -cp $CLASSPATH org.scalatest.run ExampleSpec
78+
$ scalac -cp $CLASSPATH ExampleSpec.scala
79+
$ scala -cp $CLASSPATH --main-class org.scalatest.run -- ExampleSpec
7980
<span class="cyanincolor">Discovery starting.
8081
Discovery completed in 21 milliseconds.
8182
Run starting. Expected test count is: 2</span>

0 commit comments

Comments
 (0)