This commit is contained in:
Pieter Noordhuis 2025-01-13 15:00:59 +01:00
parent de011c4018
commit ecfe545c63
No known key found for this signature in database
GPG Key ID: 12ACCCC104CF2930
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ func TestTranslatePathsArtifacts_InsideSyncRoot(t *testing.T) {
diags := bundle.Apply(context.Background(), b, mutator.TranslatePaths())
require.NoError(t, diags.Error())
// Assert that the artifact path has been converted to a path relative to the sync root.
// Assert that the artifact path has been converted to a local absolute path.
assert.Equal(t, lib, b.Config.Artifacts["my_artifact"].Path)
}
@ -78,6 +78,6 @@ func TestTranslatePathsArtifacts_OutsideSyncRoot(t *testing.T) {
diags := bundle.Apply(context.Background(), b, mutator.TranslatePaths())
require.NoError(t, diags.Error())
// Assert that the artifact path has been converted to a path relative to the sync root.
// Assert that the artifact path has been converted to a local absolute path.
assert.Equal(t, lib, b.Config.Artifacts["my_artifact"].Path)
}