Skip to content

Commit

Permalink
Use legacy URL initializer for Swift 5.7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Jun 18, 2024
1 parent 24e73f2 commit bc45e0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/MusicLibraryTests/CopyProcessorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import XCTest

final class CopyProcessorTests: XCTestCase {
func testSkipPredicate() {
let a = URL(filePath: "/tmp/this-file-probably-does-not-exist-830649")
let b = URL(filePath: "/tmp/this-file-probably-does-not-exist-159224")
let a = URL(fileURLWithPath: "/tmp/this-file-probably-does-not-exist-830649")
let b = URL(fileURLWithPath: "/tmp/this-file-probably-does-not-exist-159224")

XCTAssertEqual(CopyProcessor.SkipPredicate.always.skipReason(oldURL: a, newURL: b), "always")

Expand Down

0 comments on commit bc45e0a

Please sign in to comment.