Skip to content

Commit

Permalink
fixing missed override path
Browse files Browse the repository at this point in the history
Signed-off-by: Sainath Sativar <[email protected]>
  • Loading branch information
Sativarsainath-26 committed Oct 1, 2024
1 parent 80c4d68 commit 33f8c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signature/policy_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func TestDefaultPolicyPath(t *testing.T) {
// There is a context, but it does not override the path.
{&types.SystemContext{}, false, true, tempsystemdefaultpath, ""},
// Path overridden
{&types.SystemContext{SignaturePolicyPath: nondefaultPath}, false, false, nondefaultPath, ""},
{&types.SystemContext{SignaturePolicyPath: nondefaultPath}, false, true, nondefaultPath, ""},
// Root overridden
{
&types.SystemContext{RootForImplicitAbsolutePaths: rootPrefix},
Expand Down

0 comments on commit 33f8c94

Please sign in to comment.