Skip to content

Commit

Permalink
test: field 'unexported' has no environment variable (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
astak16 authored Dec 2, 2024
1 parent f68d1dc commit cb81472
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ func TestParsesEnv(t *testing.T) {
t.Setenv("NONDEFINED_STR", nonDefinedStr)
t.Setenv("PRF_NONDEFINED_STR", nonDefinedStr)

t.Setenv("FOO", str1)

cfg := Config{}
isNoErr(t, Parse(&cfg))

Expand Down

0 comments on commit cb81472

Please sign in to comment.