Skip to content

Commit d1796d7

Browse files
committed
More cleanup
1 parent 474d0dc commit d1796d7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Sources/SKTestSupport/SkipUnless.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -481,13 +481,8 @@ package actor SkipUnless {
481481
file: StaticString = #filePath,
482482
line: UInt = #line
483483
) async throws {
484-
struct NoSwiftInToolchain: Error {}
485-
486484
return try await shared.skipUnlessSupported(file: file, line: line) {
487485
#if os(macOS)
488-
guard let swift = await ToolchainRegistry.forTesting.default?.swift else {
489-
throw NoSwiftInToolchain()
490-
}
491486
let project = try await SwiftPMTestProject(files: [
492487
"MyFile.swift": """
493488
public func foo() {}

0 commit comments

Comments
 (0)