From 0852d4c8d89ca8a191518043e8acf38646beadbe Mon Sep 17 00:00:00 2001 From: Tristan Labelle Date: Tue, 21 Mar 2023 12:25:30 -0400 Subject: [PATCH] Fix comparison of a path with its standardized version. --- Tests/Foundation/Tests/TestProcess.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Foundation/Tests/TestProcess.swift b/Tests/Foundation/Tests/TestProcess.swift index e314be517d..df8972c243 100644 --- a/Tests/Foundation/Tests/TestProcess.swift +++ b/Tests/Foundation/Tests/TestProcess.swift @@ -800,7 +800,7 @@ class TestProcess : XCTestCase { do { let data = try XCTUnwrap(pipe3.fileHandleForReading.readToEnd()) let pwd = String.init(decoding: data, as: UTF8.self).trimmingCharacters(in: CharacterSet(["\n", "\r"])) - XCTAssertEqual(pwd, FileManager.default.currentDirectoryPath.standardizePath()) + XCTAssertEqual(pwd, FileManager.default.currentDirectoryPath) } catch { XCTFail("\(error)") }