summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-05-22 07:02:44 +0000
committerpaltherr <paltherr@epfl.ch>2003-05-22 07:02:44 +0000
commitfa4d10ee2b540bf408fc1feb1839530a01642a6a (patch)
tree45808be99563cf552207dad5079e3ac450dade7b /test
parent5e26ba92f6061538f82be70042c3e980acc68fbb (diff)
downloadscala-fa4d10ee2b540bf408fc1feb1839530a01642a6a.tar.gz
scala-fa4d10ee2b540bf408fc1feb1839530a01642a6a.tar.bz2
scala-fa4d10ee2b540bf408fc1feb1839530a01642a6a.zip
- Replaced an equals by a ==
Diffstat (limited to 'test')
-rw-r--r--test/files/run/imports.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/imports.scala b/test/files/run/imports.scala
index e5c73609da..ee0c474f3c 100644
--- a/test/files/run/imports.scala
+++ b/test/files/run/imports.scala
@@ -10,7 +10,7 @@ object checker {
System.out.print("In " + where + ", " + what + ".toString() returns ");
System.out.flush();
val string: String = if (value == null) "null" else value.toString();
- val test = if (string.equals(where)) "ok" else "KO";
+ val test = if (string == where) "ok" else "KO";
System.out.println(string + " -> " + test);
System.out.flush();
}