From 1e88594f358d08b5e9b22ba87280003a581359e4 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 7 Dec 2009 17:31:49 +0000 Subject: new doc comment generation, including some new ... new doc comment generation, including some new style doc comments in collection classes. --- test/files/run/sequenceComparisons.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/files/run') diff --git a/test/files/run/sequenceComparisons.scala b/test/files/run/sequenceComparisons.scala index 4f110eddce..e674d55bf7 100644 --- a/test/files/run/sequenceComparisons.scala +++ b/test/files/run/sequenceComparisons.scala @@ -52,14 +52,14 @@ object Test { val endsWithInputs: Inputs lazy val endsWith = Method(_ endsWith _, endsWithInputs, "%s endsWith %s") - val indexOfSeqInputs: Inputs + val indexOfSliceInputs: Inputs private def subseqTest(s1: Seq[T], s2: Seq[T]) = (s1 indexOfSlice s2) != -1 - lazy val indexOfSeq = Method(subseqTest _, indexOfSeqInputs, "(%s indexOfSeq %s) != -1") + lazy val indexOfSlice = Method(subseqTest _, indexOfSliceInputs, "(%s indexOfSlice %s) != -1") val sameElementsInputs: Inputs lazy val sameElements = Method(_ sameElements _, sameElementsInputs, "%s sameElements %s") - def methodList = List(eqeq, startsWith, endsWith, indexOfSeq, sameElements) + def methodList = List(eqeq, startsWith, endsWith, indexOfSlice, sameElements) } object test1 extends Data[Int] { @@ -75,7 +75,7 @@ object Test { List(0 :: seq, List(5,2,3,4,5), List(3,4), List(5,6)) ) - val indexOfSeqInputs = ( + val indexOfSliceInputs = ( List(Nil, List(1), List(3), List(5), List(1,2), List(2,3,4), List(4,5), seq), List(List(1,2,3,5), List(6), List(5,4,3,2,1), List(2,1)) ) -- cgit v1.2.3