Skip to content

Commit

Permalink
Added logging when matcher fails with an assertion error
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Romrell committed Dec 30, 2021
1 parent 99a3819 commit 5ba903d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dsl/common/src/main/kotlin/io/mockk/Matchers.kt
Expand Up @@ -62,6 +62,7 @@ data class FunctionMatcher<in T : Any>(
try {
matchingFunc(arg)
} catch (a: AssertionError) {
println(a)
false
}
}
Expand Down

0 comments on commit 5ba903d

Please sign in to comment.