Skip to content

Commit

Permalink
Try to make tests work on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
juri committed May 11, 2024
1 parent dc4f25d commit 57e3a6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/DotEnvyTests/LoadTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ final class LoadTests: XCTestCase {

private func inTemporaryDirectory(_ closure: (URL) throws -> Void) throws {
let url = URL(
filePath: UUID().uuidString,
directoryHint: .isDirectory,
relativeTo: URL(filePath: NSTemporaryDirectory(), directoryHint: .isDirectory)
fileURLWithPath: UUID().uuidString,
isDirectory: true,
relativeTo: URL(fileURLWithPath: NSTemporaryDirectory(), isDirectory: true)
).absoluteURL
try FileManager.default.createDirectory(at: url, withIntermediateDirectories: true)
defer {
Expand Down

0 comments on commit 57e3a6a

Please sign in to comment.