From 55a3a434558aeb6812f90dc1b62e5d2a88cb63bd Mon Sep 17 00:00:00 2001 From: Phodal Huang Date: Fri, 8 Dec 2023 16:58:50 +0800 Subject: [PATCH] test: update tests --- .../org/archguard/action/checkout/GitSourceSettingsTest.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/pipeline/checkout/src/test/kotlin/org/archguard/action/checkout/GitSourceSettingsTest.kt b/pipeline/checkout/src/test/kotlin/org/archguard/action/checkout/GitSourceSettingsTest.kt index d738f52..f733068 100644 --- a/pipeline/checkout/src/test/kotlin/org/archguard/action/checkout/GitSourceSettingsTest.kt +++ b/pipeline/checkout/src/test/kotlin/org/archguard/action/checkout/GitSourceSettingsTest.kt @@ -11,6 +11,7 @@ class GitSourceSettingsTest { val settings = GitSourceSettings.fromArgs(arrayOf("--repository", repository, "--branch", branch)) settings.workdir = ".tmp" + settings.repositoryPath = ".tmp" + java.io.File.separator + repository.substringAfterLast("/") val commandManager = GitCommandManager(settings.repositoryPath) doCheckout(commandManager, settings)