chore: remove unnecessary testing concerns from env.New

Christian Rocha created

💘 Generated with Crush

Assisted-by: GLM-4.7 via Crush <crush@charm.land>

Change summary

internal/env/env.go | 4 ----
1 file changed, 4 deletions(-)

Detailed changes

internal/env/env.go 🔗

@@ -2,7 +2,6 @@ package env
 
 import (
 	"os"
-	"testing"
 )
 
 type Env interface {
@@ -26,9 +25,6 @@ func (o *osEnv) Env() []string {
 }
 
 func New() Env {
-	if testing.Testing() {
-		return NewFromMap(nil)
-	}
 	return &osEnv{}
 }