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

Commit 40ef076

Browse files
committed
Fix typo
1 parent 370c4f5 commit 40ef076

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

internals/secrethub/run_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ func TestRunCommand_RunWithFile(t *testing.T) {
935935
}
936936
}
937937

938-
osStatOnlySecrethubEnv := func(filename string) (info os.FileInfo, err error) {
938+
osStatOnlySecretHubEnv := func(filename string) (info os.FileInfo, err error) {
939939
if filename == "secrethub.env" {
940940
return nil, nil
941941
}
@@ -953,7 +953,7 @@ func TestRunCommand_RunWithFile(t *testing.T) {
953953
command: RunCommand{
954954
command: []string{"/bin/sh", "./test.sh"},
955955
noMasking: true,
956-
osStat: osStatOnlySecrethubEnv,
956+
osStat: osStatOnlySecretHubEnv,
957957
readFile: readFileWithContent(""),
958958
envFile: "secrethub.env",
959959
envar: map[string]string{
@@ -980,7 +980,7 @@ func TestRunCommand_RunWithFile(t *testing.T) {
980980
command: []string{"/bin/sh", "./test.sh"},
981981
envFile: "secrethub.env",
982982
readFile: readFileWithContent(""),
983-
osStat: osStatOnlySecrethubEnv,
983+
osStat: osStatOnlySecretHubEnv,
984984
envar: map[string]string{
985985
"TEST": "test/test/test",
986986
},

0 commit comments

Comments
 (0)