Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-shell
Commits
c298f4c5
Commit
c298f4c5
authored
Oct 09, 2019
by
Ash McKenzie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove buildCheckAllowedEnv() test helper
parent
26ad6f92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
go/internal/command/command_test.go
go/internal/command/command_test.go
+0
-7
No files found.
go/internal/command/command_test.go
View file @
c298f4c5
...
@@ -37,13 +37,6 @@ func buildEnv(command string) map[string]string {
...
@@ -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
)
{
func
TestNew
(
t
*
testing
.
T
)
{
testCases
:=
[]
struct
{
testCases
:=
[]
struct
{
desc
string
desc
string
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment