Skip to content

Commit c186c79

Browse files
committed
Fix test
t6534.scala tested for the old incorrect behavior, namely that `==` would _not_ invoke `equals`.
1 parent ad3a11a commit c186c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run/t6534.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ object Test {
88
def main(args: Array[String]): Unit = {
99
val b1 = new Bippy1(71)
1010
val b2 = new Bippy2(71)
11-
assert(b1 == b1)
11+
assert(b1 != b1)
1212
assert(b1.## == b1.x.##, "hash differs1 " + ((b1, b1.##)))
1313
assert(b2 == b2)
1414
// assert(b2.## == b2.x.##, "hash differs2 " + ((b2, b2.##, b2.x.##)))

0 commit comments

Comments
 (0)