From fa3257ede69c70230b2fc389c548e59af51383b2 Mon Sep 17 00:00:00 2001 From: Narthana Epa Date: Wed, 1 Nov 2023 21:27:13 +1100 Subject: [PATCH] Clarify that the checkout directory is what's being checked in a test --- internal/job/integration/checkout_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/job/integration/checkout_integration_test.go b/internal/job/integration/checkout_integration_test.go index e7bdb09b1f..811869cef8 100644 --- a/internal/job/integration/checkout_integration_test.go +++ b/internal/job/integration/checkout_integration_test.go @@ -322,7 +322,7 @@ func TestCheckingOutLocalGitProjectWithShortCommitHash(t *testing.T) { } tester.RunAndCheck(t, env...) - // Check state of the build directory + // Check state of the checkout directory checkoutRepo := &gitRepository{Path: tester.CheckoutDir()} checkoutRepoCommit, err := checkoutRepo.RevParse("HEAD") assert.NilError(t, err)