diff options
author | Donna Malayeri <lindydonna@gmail.com> | 2011-04-05 08:36:32 +0000 |
---|---|---|
committer | Donna Malayeri <lindydonna@gmail.com> | 2011-04-05 08:36:32 +0000 |
commit | 1c1c65c8df23ec2ff249de3d47a6e93f4390c98e (patch) | |
tree | 9ab52e902cb7dd556f09434e8004ff7cf087cb2d /test | |
parent | fd27ca6263226f42f931c02fe08d1555a3dd20a4 (diff) | |
download | scala-1c1c65c8df23ec2ff249de3d47a6e93f4390c98e.tar.gz scala-1c1c65c8df23ec2ff249de3d47a6e93f4390c98e.tar.bz2 scala-1c1c65c8df23ec2ff249de3d47a6e93f4390c98e.zip |
[scaladoc] Fix failing test. No review.
Diffstat (limited to 'test')
-rw-r--r-- | test/scaladoc/scala/html/HtmlFactoryTest.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/scaladoc/scala/html/HtmlFactoryTest.scala b/test/scaladoc/scala/html/HtmlFactoryTest.scala index 6b599693da..c0a3f1ad95 100644 --- a/test/scaladoc/scala/html/HtmlFactoryTest.scala +++ b/test/scaladoc/scala/html/HtmlFactoryTest.scala @@ -136,7 +136,7 @@ object Test extends Properties("HtmlFactory") { files("WithPublic.html") match { case node: scala.xml.Node => { val s = node.toString - s.contains("""go to: <a href="WithPublic$.html">companion</a>""") && + s.contains("""href="WithPublic$.html"""") && files.get("WithPublic$.html") != None } case _ => false @@ -148,7 +148,7 @@ object Test extends Properties("HtmlFactory") { files("WithPrivate.html") match { case node: scala.xml.Node => { val s = node.toString - ! s.contains("""go to: <a href="WithPrivate$.html">companion</a>""") && + ! s.contains("""href="WithPrivate$.html"""") && files.get("WithPrivate$.html") == None } case _ => false @@ -194,7 +194,7 @@ object Test extends Properties("HtmlFactory") { files("WithSynthetic.html") match { case node: scala.xml.Node => { val s = node.toString - ! s.contains("""go to: <a href="WithSynthetic$.html">companion</a>""") + ! s.contains("""href="WithSynthetic$.html"""") } case _ => false } @@ -206,7 +206,7 @@ object Test extends Properties("HtmlFactory") { files("WithObject.html") match { case node: scala.xml.Node => { val s = node.toString - s.contains("""go to: <a href="WithObject$.html">companion</a>""") + s.contains("""href="WithObject$.html"""") } case _ => false } |