🔀 Merge branch 'release-79'
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / test / OneByOneMatcher.kt
index f0cceca..ac6e955 100644 (file)
@@ -9,7 +9,7 @@ class OneByOneMatcher<A> : TypeSafeDiagnosingMatcher<A>() {
        private val matchers = mutableListOf<Matcher<A, *>>()
 
        fun <V> expect(description: String, expected: V, actual: (A) -> V) {
-               matchers += Matcher<A, V>(expected, actual, description)
+               matchers += Matcher(expected, actual, description)
        }
 
        override fun describeTo(description: Description) {