♻️ Rename constancts to not be uppercase

This commit is contained in:
Dan Jones 2024-10-28 11:50:18 -05:00
commit 8a069859ea
4 changed files with 28 additions and 28 deletions

View file

@ -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 {