mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-12 15:50:15 -08:00
ci(deps): fix tenv in ".*_test.go$" (#6748)
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -330,7 +330,7 @@ exception[rules] {
|
||||
|
||||
func Test_RegoScanning_WithRuntimeValues(t *testing.T) {
|
||||
|
||||
_ = os.Setenv("DEFSEC_RUNTIME_VAL", "AOK")
|
||||
t.Setenv("DEFSEC_RUNTIME_VAL", "AOK")
|
||||
|
||||
srcFS := CreateFS(t, map[string]string{
|
||||
"policies/test.rego": `
|
||||
|
||||
Reference in New Issue
Block a user