cmd/gitlab-shell/command/command_test.go
Function TestParseSuccess
has 132 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestParseSuccess(t *testing.T) {
testCases := []struct {
desc string
executable *executable.Executable
env sshenv.Env
Function TestNewWithUsername
has 75 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestNewWithUsername(t *testing.T) {
tests := []struct {
desc string
command string
namespace string
Function TestNew
has 72 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestNew(t *testing.T) {
testCases := []struct {
desc string
executable *executable.Executable
env sshenv.Env