summaryrefslogtreecommitdiff
path: root/test/files/run/Course-2002-10.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/Course-2002-10.scala')
-rw-r--r--test/files/run/Course-2002-10.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/Course-2002-10.scala b/test/files/run/Course-2002-10.scala
index 3ec3440e80..aabe99ba53 100644
--- a/test/files/run/Course-2002-10.scala
+++ b/test/files/run/Course-2002-10.scala
@@ -111,7 +111,7 @@ module M2 {
}
def test = {
- val i = (new PrimeIterator()).take(100);
+ val i = (new PrimeIterator()).take(30);
System.out.print("prime numbers:");
while (i.hasNext) { System.out.print(" " + i.next); }
System.out.println();