projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
♻️ Add L10n to FreenetRequest, WebInterface to SoneRequest
[Sone.git]
/
src
/
test
/
kotlin
/
net
/
pterodactylus
/
sone
/
test
/
OneByOneMatcher.kt
diff --git
a/src/test/kotlin/net/pterodactylus/sone/test/OneByOneMatcher.kt
b/src/test/kotlin/net/pterodactylus/sone/test/OneByOneMatcher.kt
index
f0cceca
..
ac6e955
100644
(file)
--- a/
src/test/kotlin/net/pterodactylus/sone/test/OneByOneMatcher.kt
+++ b/
src/test/kotlin/net/pterodactylus/sone/test/OneByOneMatcher.kt
@@
-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) {
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) {
}
override fun describeTo(description: Description) {