summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2006-03-27 15:42:41 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2006-03-27 15:42:41 +0000
commit95921f1ad9d7d72136c8336fb13343f1a9c83352 (patch)
treedc9e4300250896bfc267ca54a54627219ba7e186 /test
parentf9874202d8e8df2fbe861a6194d404a64d04fbd5 (diff)
downloadscala-95921f1ad9d7d72136c8336fb13343f1a9c83352.tar.gz
scala-95921f1ad9d7d72136c8336fb13343f1a9c83352.tar.bz2
scala-95921f1ad9d7d72136c8336fb13343f1a9c83352.zip
Updated checks so that test suite suceeds.
Diffstat (limited to 'test')
-rw-r--r--test/files/neg/faculty.check2
-rw-r--r--test/files/neg/imp2.check2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/faculty.check b/test/files/neg/faculty.check
index 1a1c65f853..0fccb73753 100644
--- a/test/files/neg/faculty.check
+++ b/test/files/neg/faculty.check
@@ -1,4 +1,4 @@
faculty.scala:3 error: recursive method faculty needs result type
- def faculty(x: int) = if (x == 0) 1 else x * faculty(x - 1)
+ def faculty(x: int) = if (x == 0) 1 else x * faculty(x - 1)
^
one error found
diff --git a/test/files/neg/imp2.check b/test/files/neg/imp2.check
index 2daca73bf3..fed30dba59 100644
--- a/test/files/neg/imp2.check
+++ b/test/files/neg/imp2.check
@@ -2,6 +2,6 @@ imp2.scala:18 error: reference to f is ambiguous;
it is imported twice in the same scope by
import b.{_}
and import a.{_}
- val x = f
+ val x = f
^
one error found