File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 75
75
76
76
< pre class ="scala ">
77
77
$ 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
79
80
< span class ="cyanincolor "> Discovery starting.
80
81
Discovery completed in 21 milliseconds.
81
82
Run starting. Expected test count is: 2</ span >
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ <h1>Using the Runner</h1>
34
34
35
35
< p > < pre class ="stExamples ">
36
36
$ 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]
38
38
</ pre > </ p >
39
39
40
40
< p > The arguments < code > Runner</ code > accepts are described in the following table:</ p >
You can’t perform that action at this time.
0 commit comments