summaryrefslogtreecommitdiff
path: root/test/files/pos/t6091.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t6091.scala')
-rw-r--r--test/files/pos/t6091.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/t6091.scala b/test/files/pos/t6091.scala
index 72e663ec3b..0318640e7b 100644
--- a/test/files/pos/t6091.scala
+++ b/test/files/pos/t6091.scala
@@ -1,6 +1,6 @@
-object Foo { def eq(x:Int) = x }
+object Foo { def eq(x: Int) = x }
-class X { def ==(other: String) = true }
+class X { def ==(other: String) = other.nonEmpty }
object Test {
def main(args: Array[String]): Unit = {