summaryrefslogtreecommitdiff
path: root/test/files/run/imports.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/imports.scala')
-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();
}