Skip to content

Commit

Permalink
[chore] unset var used in test (#11062)
Browse files Browse the repository at this point in the history
This prevents the test from failing for users who set the variable
locally

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
  • Loading branch information
codeboten committed Sep 5, 2024
1 parent 3612194 commit 42b2f81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions confmap/internal/e2e/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,7 @@ func TestIssue10937_ComplexType(t *testing.T) {
}

func TestIssue10949_UnsetVar(t *testing.T) {
t.Setenv("ENV", "")
resolver := NewResolver(t, "types_expand.yaml")
conf, err := resolver.Resolve(context.Background())
require.NoError(t, err)
Expand Down

0 comments on commit 42b2f81

Please sign in to comment.