From 4f99743f017a7006cec13b7a2770440aeaba93e9 Mon Sep 17 00:00:00 2001 From: Anthony Eid Date: Thu, 30 May 2024 17:57:29 -0400 Subject: [PATCH] Update docc convert unit test to work with relative --checkout-path --- .../ConvertSubcommandSourceRepositoryTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/SwiftDocCUtilitiesTests/ArgumentParsing/ConvertSubcommandSourceRepositoryTests.swift b/Tests/SwiftDocCUtilitiesTests/ArgumentParsing/ConvertSubcommandSourceRepositoryTests.swift index 24f842fa5f..609650da6f 100644 --- a/Tests/SwiftDocCUtilitiesTests/ArgumentParsing/ConvertSubcommandSourceRepositoryTests.swift +++ b/Tests/SwiftDocCUtilitiesTests/ArgumentParsing/ConvertSubcommandSourceRepositoryTests.swift @@ -34,7 +34,7 @@ class ConvertSubcommandSourceRepositoryTests: XCTestCase { sourceService: sourceService, sourceServiceBaseURL: "https://example.com/path/to/base" ) { action in - XCTAssertEqual(action.sourceRepository?.checkoutPath, "checkout path") + XCTAssertEqual(action.sourceRepository?.checkoutPath, "/private/tmp/checkout%20path") XCTAssertEqual(action.sourceRepository?.sourceServiceBaseURL.absoluteString, "https://example.com/path/to/base") } }