Skip to content

Commit

Permalink
Fix wrong copy-pasta in env test
Browse files Browse the repository at this point in the history
  • Loading branch information
yermulnik committed Jan 15, 2025
1 parent 7649d84 commit 224ad6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/param_parsing/environment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func TestGetParamsFromEnvironment_arch_from_env(t *testing.T) {
params = initParams(params)
params = GetParamsFromEnvironment(params)
_ = os.Unsetenv("TF_ARCH")
if params.Version != expected {
if params.Arch != expected {
t.Error("Determined arch is not matching. Got " + params.Arch + ", expected " + expected)
}
}
Expand Down

0 comments on commit 224ad6e

Please sign in to comment.