Expectation: Output should be empty in both apps (as the stubs are returning an empty data object)
Results iOS: Empty output is printed
Results watchOS: Actual file contents are printed, download was not stubbed
Can also be veryfied using breakpoints, for watchOS the return statement is never being called.
New Issue Checklist
OHHTTPStubs
for your project sectionEnvironment
Issue Description
Stubs are never considered for watchOS, same code runs fine in iOS.
Steps to reproduce
Expectation: Output should be empty in both apps (as the stubs are returning an empty data object) Results iOS: Empty output is printed Results watchOS: Actual file contents are printed, download was not stubbed
Can also be veryfied using breakpoints, for watchOS the return statement is never being called.