-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I'm currently testing purposely a failure on a request and when accessing the request on the URLSessionDataTask, it results in a unrecognized selector sent.
Step to reproduce:
- Do a request that will expect to fail
- Try to access
task.currentRequest - Your test suite will crash with
-[Vinyl.URLSessionDataTask currentRequest]: unrecognized selector sent to instance 0x608000058f90
I haven't looked deeply in the problem, but my first thought was that it is really odd as Vinyl.URLSessionDataTask is a subclass of Foundation.URLSessionDataTask and so it shouldn't be a problem to access currentRequest. Any thought on that?
Metadata
Metadata
Assignees
Labels
No labels