diff options
author | Kato Kazuyoshi <kato.kazuyoshi@gmail.com> | 2013-01-08 01:22:34 +0900 |
---|---|---|
committer | Kato Kazuyoshi <kato.kazuyoshi@gmail.com> | 2013-02-03 09:42:05 +0900 |
commit | 3f0bce95fffcea60b3cbf8bc9e0c9a410f732cde (patch) | |
tree | 501c00feffa58bb40d47ced7731efb8dc5cad943 /test/scaladoc | |
parent | d4b46f6e42c8124c54af56c0a3c1ac39b46b2c52 (diff) | |
download | scala-3f0bce95fffcea60b3cbf8bc9e0c9a410f732cde.tar.gz scala-3f0bce95fffcea60b3cbf8bc9e0c9a410f732cde.tar.bz2 scala-3f0bce95fffcea60b3cbf8bc9e0c9a410f732cde.zip |
SI-6017 Generate Scaladoc's index links in Scala side
There is no reason to do it in JavaScript.
Diffstat (limited to 'test/scaladoc')
-rw-r--r-- | test/scaladoc/run/SI-6017.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/scaladoc/run/SI-6017.scala b/test/scaladoc/run/SI-6017.scala index a4950e48d8..e729dca67d 100644 --- a/test/scaladoc/run/SI-6017.scala +++ b/test/scaladoc/run/SI-6017.scala @@ -16,6 +16,9 @@ object Test extends ScaladocModelTest { val index = IndexModelFactory.makeIndex(universe) // Because "STAR" and "Star" are different assert(index.firstLetterIndex('s').keys.toSeq.length == 2) + + val indexPage = new Index(universe, index) + assert(indexPage.letters.length == 1) } case _ => assert(false) } |