From c298f4c530a6784d25bb595880c713b0972a1ccf Mon Sep 17 00:00:00 2001 From: Ash McKenzie Date: Wed, 9 Oct 2019 13:57:22 +1100 Subject: Remove buildCheckAllowedEnv() test helper --- go/internal/command/command_test.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/go/internal/command/command_test.go b/go/internal/command/command_test.go index 8f14db3..cd3ac9b 100644 --- a/go/internal/command/command_test.go +++ b/go/internal/command/command_test.go @@ -37,13 +37,6 @@ func buildEnv(command string) map[string]string { } } -func buildCheckAllowedEnv(command string) map[string]string { - out := buildEnv(command) - out["GITLAB_SHELL_ALLOW_CHECK_COMMAND"] = "1" - - return out -} - func TestNew(t *testing.T) { testCases := []struct { desc string -- cgit v1.2.1