diff options
author | paltherr <paltherr@epfl.ch> | 2003-05-22 07:02:44 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-05-22 07:02:44 +0000 |
commit | fa4d10ee2b540bf408fc1feb1839530a01642a6a (patch) | |
tree | 45808be99563cf552207dad5079e3ac450dade7b /test/files | |
parent | 5e26ba92f6061538f82be70042c3e980acc68fbb (diff) | |
download | scala-fa4d10ee2b540bf408fc1feb1839530a01642a6a.tar.gz scala-fa4d10ee2b540bf408fc1feb1839530a01642a6a.tar.bz2 scala-fa4d10ee2b540bf408fc1feb1839530a01642a6a.zip |
- Replaced an equals by a ==
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/imports.scala | 2 |
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(); } |