♻️ Rename constancts to not be uppercase
This commit is contained in:
parent
c703a26c10
commit
8a069859ea
4 changed files with 28 additions and 28 deletions
|
|
@ -21,10 +21,10 @@ func TestValidEnv(t *testing.T) {
|
|||
e Env
|
||||
exp bool
|
||||
}{
|
||||
{DEV, true},
|
||||
{PROD, true},
|
||||
{QA, true},
|
||||
{TEST, true},
|
||||
{Dev, true},
|
||||
{Prod, true},
|
||||
{Qa, true},
|
||||
{Test, true},
|
||||
{Env("foobar"), false},
|
||||
{Env(""), false},
|
||||
{Env("✨"), false},
|
||||
|
|
@ -42,13 +42,13 @@ func TestValidEnvOrDev(t *testing.T) {
|
|||
give Env
|
||||
exp Env
|
||||
}{
|
||||
{DEV, DEV},
|
||||
{PROD, PROD},
|
||||
{QA, QA},
|
||||
{TEST, TEST},
|
||||
{Env("foobar"), DEV},
|
||||
{Env(""), DEV},
|
||||
{Env("✨"), DEV},
|
||||
{Dev, Dev},
|
||||
{Prod, Prod},
|
||||
{Qa, Qa},
|
||||
{Test, Test},
|
||||
{Env("foobar"), Dev},
|
||||
{Env(""), Dev},
|
||||
{Env("✨"), Dev},
|
||||
}
|
||||
|
||||
for _, c := range cases {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue