♻️ 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

@ -8,12 +8,12 @@ import (
func TestEnvDefaultsToDev(t *testing.T) {
c := Config{}
assert.Equal(t, DEV, c.Environment())
assert.Equal(t, Dev, c.Environment())
}
func TestInvalidEnvReturnsDev(t *testing.T) {
c := Config{Env: Env("foobar")}
assert.Equal(t, DEV, c.Environment())
assert.Equal(t, Dev, c.Environment())
}
func TestValidEnvReturnsCorrect(t *testing.T) {