Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fpseverino committed Sep 28, 2024
1 parent 0795d58 commit a098012
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Tests/ZipTests/ZipTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ import XCTest

final class ZipTests: XCTestCase {
private func url(forResource resource: String, withExtension ext: String? = nil) -> URL? {
#if swift(>=6.0)
let filePath = URL(fileURLWithPath: #file)
#else
let filePath = URL(fileURLWithPath: #filePath)
#endif
let resourcePath = filePath
let resourcePath = URL(fileURLWithPath: #filePath)
.deletingLastPathComponent()
.appendingPathComponent("Resources")
.appendingPathComponent(resource)
Expand Down

0 comments on commit a098012

Please sign in to comment.