Skip to content

Commit

Permalink
Address commit suggestion by fixing TestGetParameters_arch_from_args()
Browse files Browse the repository at this point in the history
  • Loading branch information
yermulnik committed Jan 21, 2025
1 parent e039d37 commit a12fc57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/param_parsing/parameters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
)

func TestGetParameters_arch_from_args(t *testing.T) {
expected := "amd64"
os.Args = []string{"cmd", expected}
expected := "arch_from_args"
os.Args = []string{"cmd", "--arch=" + expected}
params := GetParameters()
actual := params.Arch
if actual != expected {
Expand Down

0 comments on commit a12fc57

Please sign in to comment.