diff options
author | Paul Phillips <paulp@improving.org> | 2013-05-19 09:43:04 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-05-19 11:35:49 -0700 |
commit | b6757e11a1970480a60741235fc86f01d8957e07 (patch) | |
tree | 4ddcb529684f504d44e017f8aebf441d32865844 /test/files | |
parent | 16e92f48e7b075d8addf037953b5696a497258c6 (diff) | |
download | scala-b6757e11a1970480a60741235fc86f01d8957e07.tar.gz scala-b6757e11a1970480a60741235fc86f01d8957e07.tar.bz2 scala-b6757e11a1970480a60741235fc86f01d8957e07.zip |
An attempt to make tests deterministic.
The nondeterminism presently showing itself in
presentation/implicit-member is a consequence of the
presentation compiler tests relying on details of the
behavior of toString calls. We need to stomp this out,
but it will take a while. Based on the check file
changes enclosed with this commit, this will suffice
for the presentation compiler tests. A broader assault
will have to take place, but not yet.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/presentation/ide-bug-1000531.check | 2 | ||||
-rw-r--r-- | test/files/presentation/implicit-member.check | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/presentation/ide-bug-1000531.check b/test/files/presentation/ide-bug-1000531.check index 980bb0a25d..be8805330a 100644 --- a/test/files/presentation/ide-bug-1000531.check +++ b/test/files/presentation/ide-bug-1000531.check @@ -7,7 +7,7 @@ retrieved 124 members [inaccessible] protected[package lang] def clone(): Object [inaccessible] protected[package lang] def finalize(): Unit [inaccessible] protected[this] def reversed: List[B] -class GroupedIterator[B <: <?>] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]] +class GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]] def +(other: String): String def ++[B >: B](that: => scala.collection.GenTraversableOnce[B]): Iterator[B] def ->[B](y: B): (java.util.Iterator[B], B) diff --git a/test/files/presentation/implicit-member.check b/test/files/presentation/implicit-member.check index 92d8e38abe..acf7e1a0fd 100644 --- a/test/files/presentation/implicit-member.check +++ b/test/files/presentation/implicit-member.check @@ -15,7 +15,7 @@ def formatted(fmtstr: String): String def hashCode(): Int def toString(): String def →[B](y: B): (Implicit.type, B) -final class AppliedImplicit[A <: <?>] extends AnyRef +final class AppliedImplicit[A] extends AnyRef final def !=(x$1: Any): Boolean final def !=(x$1: AnyRef): Boolean final def ##(): Int |