Skip to content

Commit

Permalink
fix test names (#11374)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 authored Oct 22, 2021
1 parent 8c799b3 commit 10d3056
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions command/ui_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,22 @@ func TestCommand_Ui(t *testing.T) {
ExpectedURL: "http://127.0.0.1:4646?namespace=dev",
},
{
Name: "set region via flag",
Name: "set region via env var",
SetupFn: func(t *testing.T) {
setEnv(t, "NOMAD_REGION", "earth")
},
ExpectedURL: "http://127.0.0.1:4646?region=earth",
},
{
Name: "set region and namespace via flag",
Name: "set region and namespace via env var",
SetupFn: func(t *testing.T) {
setEnv(t, "NOMAD_REGION", "earth")
setEnv(t, "NOMAD_NAMESPACE", "dev")
},
ExpectedURL: "http://127.0.0.1:4646?namespace=dev&region=earth",
},
{
Name: "set region and namespace via flag",
Name: "set region and namespace via env var",
SetupFn: func(t *testing.T) {
setEnv(t, "NOMAD_REGION", "earth")
setEnv(t, "NOMAD_NAMESPACE", "dev")
Expand Down

0 comments on commit 10d3056

Please sign in to comment.