Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit 46ad1c2

Browse files
committed
Also set the osEnv in the environment struct
1 parent abacb05 commit 46ad1c2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internals/secrethub/run_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -929,6 +929,7 @@ func TestRunCommand_environment(t *testing.T) {
929929
command: RunCommand{
930930
command: []string{"/bin/sh", "./test.sh"},
931931
environment: &environment{
932+
osEnv: []string{"SECRETHUB_VAR_VARIABLE=bar"},
932933
osStat: osStatFunc("secrethub.env", nil),
933934
readFile: readFileFunc("secrethub.env", "TEST=$variable"),
934935
dontPromptMissingTemplateVar: true,

0 commit comments

Comments
 (0)