A follow on PR from #561 and #562.
A bit of refactoring to reduce duplication of tests involving Windows and linux path formats.
- The
haystack
fixture now returns test path data based on the format of the platform its running on. - The examples used or both windows and linux paths are now the same in terms of there folder names.
- Returned results are compared to the indexed haystack in the assertions checks e.g.
assert foo() == [haystack[0]]