don't implement hidden(false) for swift < 5

and provide a warning
This commit is contained in:
Rob Jonson
2021-07-30 17:09:37 +01:00
parent 5377bceb5f
commit dad3d84040
2 changed files with 7 additions and 3 deletions

View File

@@ -149,11 +149,12 @@ extension PathTests {
Set([dotFoo,tmpDotA,tmpDotAFoo,tmpB,tmpBFoo]),
relativeTo: tmpdir)
#if !os(Linux) || swift(>=5)
XCTAssertEqual(
Set(tmpdir.find().hidden(false)),
Set([tmpB,tmpBFoo]),
relativeTo: tmpdir)
#endif
}
}