summaryrefslogtreecommitdiff
path: root/src/partest
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-11-03 08:55:07 -0700
committerPaul Phillips <paulp@improving.org>2012-11-03 08:58:06 -0700
commit30954277448ea270ea5cf59af6c5760451a81005 (patch)
treefd76ad39ea4dfe02403488893eefbdb9a1a4ca4b /src/partest
parent9c09c170998f74fba03990977b285e3121db32a6 (diff)
downloadscala-30954277448ea270ea5cf59af6c5760451a81005.tar.gz
scala-30954277448ea270ea5cf59af6c5760451a81005.tar.bz2
scala-30954277448ea270ea5cf59af6c5760451a81005.zip
Restored a scaladoc val body.
Sometimes unused vals have side effecting right hand sides, and it looks like one or maybe two slipped through my net.
Diffstat (limited to 'src/partest')
-rw-r--r--src/partest/scala/tools/partest/ScaladocModelTest.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/partest/scala/tools/partest/ScaladocModelTest.scala b/src/partest/scala/tools/partest/ScaladocModelTest.scala
index f399b86029..b8a41aabe4 100644
--- a/src/partest/scala/tools/partest/ScaladocModelTest.scala
+++ b/src/partest/scala/tools/partest/ScaladocModelTest.scala
@@ -86,7 +86,10 @@ abstract class ScaladocModelTest extends DirectTest {
private[this] def newDocFactory: DocFactory = {
settings = new Settings(_ => ())
settings.scaladocQuietRun = true // yaay, no more "model contains X documentable templates"!
- new DocFactory(new ConsoleReporter(settings), settings)
+ val args = extraSettings + " " + scaladocSettings
+ val command = new ScalaDoc.Command((CommandLineParser tokenize (args)), settings)
+ val docFact = new DocFactory(new ConsoleReporter(settings), settings)
+ docFact
}
// compile with scaladoc and output the result