Skip to content

Commit

Permalink
Fixing a warning accidentally triggered an error, implemented a bette…
Browse files Browse the repository at this point in the history
…r fix
  • Loading branch information
Raibaz committed Nov 25, 2020
1 parent cd23d92 commit 930a079
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mockk/common/src/test/kotlin/io/mockk/gh/Issue353Test.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class Issue353Test {
@Test
fun testNullableCapture() {
class Mock {
fun call(_: String?) {
fun call(unused: String?) {
println(unused)
}
}

Expand Down

0 comments on commit 930a079

Please sign in to comment.