From 9835566aa6099d0881d4513adedfb7c9aa798ff8 Mon Sep 17 00:00:00 2001 From: Jake Coffman Date: Thu, 21 Dec 2023 13:58:53 -0600 Subject: [PATCH] we only really need the PATH --- tests/dependabot_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/dependabot_test.go b/tests/dependabot_test.go index 1c35b96..632d0d0 100644 --- a/tests/dependabot_test.go +++ b/tests/dependabot_test.go @@ -18,7 +18,9 @@ func TestDependabot(t *testing.T) { Cmds: Commands(), Quiet: !testing.Verbose(), } - env := os.Environ() + env := []string{ + "PATH=" + os.Getenv("PATH"), + } scripttest.Test(t, ctx, engine, env, "../testdata/scripts/*.txt") }