Skip to content

Commit 0ebc5e5

Browse files
tristanlabellecompnerd
authored andcommitted
Fix comparison of a path with its standardized version.
1 parent 5c1d6f6 commit 0ebc5e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Foundation/Tests/TestProcess.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ class TestProcess : XCTestCase {
800800
do {
801801
let data = try XCTUnwrap(pipe3.fileHandleForReading.readToEnd())
802802
let pwd = String.init(decoding: data, as: UTF8.self).trimmingCharacters(in: CharacterSet(["\n", "\r"]))
803-
XCTAssertEqual(pwd, FileManager.default.currentDirectoryPath.standardizePath())
803+
XCTAssertEqual(pwd, FileManager.default.currentDirectoryPath)
804804
} catch {
805805
XCTFail("\(error)")
806806
}

0 commit comments

Comments
 (0)