From f100de48b00b328b6f9936bd4fccfeee967d88d8 Mon Sep 17 00:00:00 2001 From: Adam <897017+aSemy@users.noreply.github.com> Date: Thu, 21 Jul 2022 10:43:07 +0200 Subject: [PATCH] remove unnecessary spread operator --- mockk/common/src/main/kotlin/io/mockk/MockK.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,