Skip to content

Commit 994899b

Browse files
committed
Merge branch 'feature-quick-start-scala-3-fix' of https://github.com/scalatest/scalatest-website
2 parents 726ca38 + e26d976 commit 994899b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
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>

app/views/userGuide/usingTheRunner.scala.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h1>Using the Runner</h1>
3434

3535
<p><pre class="stExamples">
3636
$ CLASSPATH=scalatest-app_@{majorMinorScalaVersion}-@{latestVersion}.jar:scala-xml_3-2.1.0.jar
37-
$ scala -cp $CLASSPATH org.scalatest.tools.Runner [arguments]
37+
$ scala -cp $CLASSPATH --main-class org.scalatest.tools.Runner -- [arguments]
3838
</pre></p>
3939

4040
<p>The arguments <code>Runner</code> accepts are described in the following table:</p>

0 commit comments

Comments
 (0)