Don't instantiate a global shared Env in cmd/compute.go

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
Solomon Hykes
2021-02-04 22:28:35 +00:00
parent 0fe2ef4fe4
commit 0202f4447b
4 changed files with 17 additions and 21 deletions

View File

@@ -6,7 +6,7 @@ import (
)
func TestEnvInputFlag(t *testing.T) {
env, err := NewEnv()
env, err := NewEnv(nil)
if err != nil {
t.Fatal(err)
}