Skip to content

Commit

Permalink
Revert "Merge branch 'master' into support-method-overriding"
Browse files Browse the repository at this point in the history
This reverts commit 3c81133, reversing
changes made to 48816e2.
  • Loading branch information
art-divin committed Dec 19, 2023
1 parent 3c81133 commit 15deca5
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions Templates/Tests/Expected/AutoMockable.expected
Original file line number Diff line number Diff line change
Expand Up @@ -725,34 +725,6 @@ class ExampleVarargMock: ExampleVararg {



//MARK: - string

var stringKeyArgsCallsCount = 0
var stringKeyArgsCalled: Bool {
return stringKeyArgsCallsCount > 0
}
var stringKeyArgsReceivedArguments: (key: String, args: CVarArg...)?
var stringKeyArgsReceivedInvocations: [(key: String, args: CVarArg...)] = []
var stringKeyArgsReturnValue: String!
var stringKeyArgsClosure: ((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)
} else {
return stringKeyArgsReturnValue
}
}

}
class ExampleVarargMock: ExampleVararg {




//MARK: - string

var stringKeyArgsCallsCount = 0
Expand Down

0 comments on commit 15deca5

Please sign in to comment.