File tree Expand file tree Collapse file tree
Templates/Tests/Context_Linux Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -220,6 +220,19 @@ protocol AnyProtocol: AutoMockable {
220220 func z( ) -> any StubProtocol & CustomStringConvertible
221221}
222222
223+ protocol AnyProtocolWithOptionals : AutoMockable {
224+ var a : [ any StubProtocol ] ? { get }
225+ var b : [ Result < Void , any Error > ] { get }
226+ var c : ( Int , [ ( any StubProtocol ) ? ] ) ? { get }
227+ var d : ( Int , ( any StubProtocol ) ? ) { get }
228+ var e : ( Int , ( any StubProtocol ) ? ) ? { get }
229+ var f : ( Int , [ any StubProtocol ] ? ) ? { get }
230+ func g( _ g: String , handler: @escaping ( [ any StubProtocol ] ? ) -> Void ) -> Bool
231+ func h( _ h: String , handler: @escaping ( [ StubProtocol ] ) -> Void ) -> Bool
232+ func i( _ i: String , handler: @escaping ( [ ( any StubProtocol ) ? ] ) -> Void ) -> Bool
233+ var j : ( anyInteger: Int , anyArray: [ any StubProtocol ] ? ) ? { get }
234+ }
235+
223236protocol SomeProtocol : AutoMockable {
224237 func a( _ x: ( some StubProtocol ) ? , y: ( some StubProtocol ) ! , z: some StubProtocol )
225238 func b( x: ( some StubProtocol ) ? , y: ( some StubProtocol ) ! , z: some StubProtocol ) async -> String
You can’t perform that action at this time.
0 commit comments