summaryrefslogtreecommitdiff
path: root/test/files/run/iq.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/iq.scala')
-rw-r--r--test/files/run/iq.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/iq.scala b/test/files/run/iq.scala
index 88a2884fcc..31859cf867 100644
--- a/test/files/run/iq.scala
+++ b/test/files/run/iq.scala
@@ -7,7 +7,7 @@ import scala.collection.immutable.Queue
object iq {
def main {
/* Create an empty queue. */
- val q: Queue[Int] = Queue.Empty
+ val q: Queue[Int] = Queue.empty
/* Test isEmpty.
* Expected: Empty
@@ -45,7 +45,7 @@ object iq {
*/
Console.println("q5[5]: " + q5(5))
- val q5c: Queue[Int] = Queue.Empty.enqueue(List(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))
+ val q5c: Queue[Int] = Queue.empty.enqueue(List(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))
/* Testing ==
* Expected: q5 == q9: true