We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc4f25d commit 57e3a6aCopy full SHA for 57e3a6a
Tests/DotEnvyTests/LoadTests.swift
@@ -94,9 +94,9 @@ final class LoadTests: XCTestCase {
94
95
private func inTemporaryDirectory(_ closure: (URL) throws -> Void) throws {
96
let url = URL(
97
- filePath: UUID().uuidString,
98
- directoryHint: .isDirectory,
99
- relativeTo: URL(filePath: NSTemporaryDirectory(), directoryHint: .isDirectory)
+ fileURLWithPath: UUID().uuidString,
+ isDirectory: true,
+ relativeTo: URL(fileURLWithPath: NSTemporaryDirectory(), isDirectory: true)
100
).absoluteURL
101
try FileManager.default.createDirectory(at: url, withIntermediateDirectories: true)
102
defer {
0 commit comments