Created
August 15, 2020 21:26
-
-
Save victorpanitz/a2b181c4ea00f053903a0575bb77e61a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final class URLSessionDataTaskSpy: URLSessionDataTask { | |
private(set) var cancelCalled: Bool = false | |
override func cancel() { | |
cancelCalled = true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment