Skip to content

Commit

Permalink
Propagate extra test session environment variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-as committed Jan 5, 2024
1 parent d6c5306 commit e73ba2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/testhelpers/e2e/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func New(t *testing.T, retainDirs bool, extraEnv ...string) *Session {
func new(t *testing.T, retainDirs, updatePath bool, extraEnv ...string) *Session {
dirs, err := NewDirs("")
require.NoError(t, err)
env := sandboxedTestEnvironment(t, dirs, updatePath)
env := sandboxedTestEnvironment(t, dirs, updatePath, extraEnv...)

session := &Session{Dirs: dirs, Env: env, retainDirs: retainDirs, T: t}

Expand Down

0 comments on commit e73ba2a

Please sign in to comment.