ConsiderEmptyDataSourceAsInconclusive throws to catch the exception on the next line
nohwnd opened this issue · comments
Jakub Jareš commented
When 0 items are produced and the code does not throw, we throw just to catch the exception. This could be made more efficient by extracting the catch and using it in if
and catch
paths.
https://grep.app/search?q=%26%26%20.%2AConsiderEmptyDataSourceAsInconclusive®exp=true
Code is introduced here: https://github.com/microsoft/testfx/pull/2771/files
PR has no comments that would mention this.