summaryrefslogtreecommitdiff
path: root/test/files/run/search.scala
diff options
context:
space:
mode:
authorAlexander Clare <alexander.clare@gmail.com>2012-07-16 13:35:43 -0500
committerAlexander Clare <alexander.clare@gmail.com>2012-07-16 14:36:19 -0500
commit41869c39ba68ef574595533777d2a99fcabdbdc3 (patch)
tree862185c349c54dc1e96e8cfb59b96ac52ac3515b /test/files/run/search.scala
parentab0e09bb44567a19690529c03cb388295ce5d338 (diff)
downloadscala-41869c39ba68ef574595533777d2a99fcabdbdc3.tar.gz
scala-41869c39ba68ef574595533777d2a99fcabdbdc3.tar.bz2
scala-41869c39ba68ef574595533777d2a99fcabdbdc3.zip
Changes suggested by @retronym and @jsuereth
Change return type to case classes, branch between functions depending on IndexedSeq instead of IndexedSeqLike, and alter tests accordingly. Clean up doc comments and reflect changes in them.
Diffstat (limited to 'test/files/run/search.scala')
-rw-r--r--test/files/run/search.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/search.scala b/test/files/run/search.scala
index 1e57fa2bf1..ed7fed54a7 100644
--- a/test/files/run/search.scala
+++ b/test/files/run/search.scala
@@ -1,6 +1,6 @@
object Test extends App {
import scala.collection.{LinearSeq, IndexedSeq}
- import scala.collection.Searching._
+ import scala.collection.Searching.search
val ls = LinearSeq(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13)
println(ls.search(3))