Skip to content

Commit

Permalink
Add another missing availability
Browse files Browse the repository at this point in the history
  • Loading branch information
ffried committed Mar 18, 2022
1 parent dfcb680 commit 25b7912
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/FileStreamerTests/FileStreamTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ final class FileStreamTests: XCTestCase {
}

#if compiler(>=5.5.2) && canImport(_Concurrency)
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
private func withTemporaryDirectoryAsync(do work: (URL) async throws -> ()) async throws {
let newSubdir = FileManager.default.temporaryDirectory.appendingPathComponent(UUID().uuidString)
try FileManager.default.createDirectory(at: newSubdir, withIntermediateDirectories: true)
Expand Down

0 comments on commit 25b7912

Please sign in to comment.