diff options
author | Som Snytt <som.snytt@gmail.com> | 2013-04-24 15:50:45 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-04-30 08:18:22 -0700 |
commit | bf4466982854ffa8be57068752ea31daf7776eee (patch) | |
tree | 46cd3a6276d8fa3df9ccb7d730c29b1cf825edc2 /test/scaladoc/scalacheck/CommentFactoryTest.scala | |
parent | b47ca5b17ec8079a23d48103c6af295c2f01caf3 (diff) | |
download | scala-bf4466982854ffa8be57068752ea31daf7776eee.tar.gz scala-bf4466982854ffa8be57068752ea31daf7776eee.tar.bz2 scala-bf4466982854ffa8be57068752ea31daf7776eee.zip |
SI-7349 Partest supports test-interface
Partest uses test-interface API to invoke ScalaCheck. This obviates
ad hoc output checking for result status.
The context class loader is set to a loader that the scaladoc scalacheck
tests can use.
Diffstat (limited to 'test/scaladoc/scalacheck/CommentFactoryTest.scala')
-rw-r--r-- | test/scaladoc/scalacheck/CommentFactoryTest.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scaladoc/scalacheck/CommentFactoryTest.scala b/test/scaladoc/scalacheck/CommentFactoryTest.scala index 96174d29d1..28043e5a06 100644 --- a/test/scaladoc/scalacheck/CommentFactoryTest.scala +++ b/test/scaladoc/scalacheck/CommentFactoryTest.scala @@ -45,7 +45,7 @@ object Test extends Properties("CommentFactory") { with MemberLookup) } - def parse(src: String, dst: Inline) = { + def parse(src: String, dst: Inline): Boolean = { factory.parseComment(src) match { case Some(inline) => inline == dst |