Skip to content

Commit

Permalink
Fix test compilation for Xcode 12.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mmagranatavito committed Oct 18, 2021
1 parent 7ec008a commit 6905923
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/DipTests/AutoInjectionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ private class ClientImp: Client {

@Injected(didInject: { _ in
AutoInjectionTests.serverDidInjectCalled = true
}) var server: Server
}) var server: Server?

@Injected(required: false) var _optionalProperty: AnyObject?

@Injected(tag: "tagged") var taggedServer: Server
@Injected(tag: nil) var nilTaggedServer: Server
@Injected(tag: "tagged") var taggedServer: Server?
@Injected(tag: nil) var nilTaggedServer: Server?

var anotherServer: Server!
}
Expand Down

0 comments on commit 6905923

Please sign in to comment.