Skip to content

Commit d46e20d

Browse files
authored
Merge pull request swiftlang#1845 from ikesyo/testurl-fix-xcode-build
2 parents 2f30a90 + 19ea157 commit d46e20d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

TestFoundation/TestURL.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,10 @@ private func getTestData() -> [Any]? {
3939
XCTFail("Unable to deserialize property list data")
4040
return nil
4141
}
42-
#if swift(>=5.0)
4342
guard let parsingTests = testRoot[kURLTestParsingTestsKey] as? [Any] else {
4443
XCTFail("Unable to create the parsingTests dictionary")
4544
return nil
4645
}
47-
#else
48-
guard let parsingTests = testRoot?[kURLTestParsingTestsKey] as? [Any] else {
49-
XCTFail("Unable to create the parsingTests dictionary")
50-
return nil
51-
}
52-
#endif
5346
return parsingTests
5447
}
5548

0 commit comments

Comments
 (0)