Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit 5dab53e

Browse files
committed
Fix type inference issue
1 parent b2a1b6f commit 5dab53e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/scala/com/softwaremill/diffx/test/DiffTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ class DiffTest extends AnyFreeSpec with Matchers {
295295
"compare lists using object matcher comparator" in {
296296
val o1 = Organization(List(p1, p2))
297297
val o2 = Organization(List(p2, p1))
298-
implicit val om: ObjectMatcher[(Int, Person)] = ObjectMatcher.byValue(ObjectMatcher.by(_.name))
298+
implicit val om: ObjectMatcher[(Int, Person)] = ObjectMatcher.byValue(_.name)
299299
compare(o1, o2) shouldBe Identical(Organization(List(p1, p2)))
300300
}
301301

0 commit comments

Comments
 (0)