From 4885012d84f87544058a31d8627dd0de41b1b179 Mon Sep 17 00:00:00 2001 From: Ruslan Alikhamov Date: Wed, 20 Dec 2023 03:23:34 +0400 Subject: [PATCH] Updated AutoMockable.expected --- .../Tests/Expected/AutoMockable.expected | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Templates/Tests/Expected/AutoMockable.expected b/Templates/Tests/Expected/AutoMockable.expected index d689cb456..184edc634 100644 --- a/Templates/Tests/Expected/AutoMockable.expected +++ b/Templates/Tests/Expected/AutoMockable.expected @@ -671,23 +671,23 @@ class ExampleVarargMock: ExampleVararg { //MARK: - string - var stringKeyArgsCallsCount = 0 - var stringKeyArgsCalled: Bool { - return stringKeyArgsCallsCount > 0 + var StringKeyStringArgsCVarArgStringCallsCount = 0 + var StringKeyStringArgsCVarArgStringCalled: Bool { + return StringKeyStringArgsCVarArgStringCallsCount > 0 } - var stringKeyArgsReceivedArguments: (key: String, args: CVarArg...)? - var stringKeyArgsReceivedInvocations: [(key: String, args: CVarArg...)] = [] - var stringKeyArgsReturnValue: String! - var stringKeyArgsClosure: ((String, CVarArg...) -> String)? + var StringKeyStringArgsCVarArgStringReceivedArguments: (key: String, args: CVarArg...)? + var StringKeyStringArgsCVarArgStringReceivedInvocations: [(key: String, args: CVarArg...)] = [] + var StringKeyStringArgsCVarArgStringReturnValue: String! + var StringKeyStringArgsCVarArgStringClosure: ((String, CVarArg...) -> String)? func string(key: String, args: CVarArg...) -> String { - stringKeyArgsCallsCount += 1 - stringKeyArgsReceivedArguments = (key: key, args: args) - stringKeyArgsReceivedInvocations.append((key: key, args: args)) - if let stringKeyArgsClosure = stringKeyArgsClosure { - return stringKeyArgsClosure(key, args) + StringKeyStringArgsCVarArgStringCallsCount += 1 + StringKeyStringArgsCVarArgStringReceivedArguments = (key: key, args: args) + StringKeyStringArgsCVarArgStringReceivedInvocations.append((key: key, args: args)) + if let StringKeyStringArgsCVarArgStringClosure = StringKeyStringArgsCVarArgStringClosure { + return StringKeyStringArgsCVarArgStringClosure(key, args) } else { - return stringKeyArgsReturnValue + return StringKeyStringArgsCVarArgStringReturnValue } }