diff --git a/mockk/common/src/main/kotlin/io/mockk/MockK.kt b/mockk/common/src/main/kotlin/io/mockk/MockK.kt index 03925b817..c94315735 100644 --- a/mockk/common/src/main/kotlin/io/mockk/MockK.kt +++ b/mockk/common/src/main/kotlin/io/mockk/MockK.kt @@ -342,7 +342,7 @@ fun clearMocks( MockK.useImpl { MockKDsl.internalClearMocks( firstMock = firstMock, - mocks = *mocks, + mocks = mocks, answers = answers, recordedCalls = recordedCalls, childMocks = childMocks,