gitlabhq/gitlab-shell

View on GitHub
internal/handler/exec_test.go

Summary

Maintainability
A
1 hr
Test Coverage

Function TestPrepareContext has 60 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func TestPrepareContext(t *testing.T) {
    tests := []struct {
        name     string
        gc       *GitalyCommand
        env      sshenv.Env
Severity: Minor
Found in internal/handler/exec_test.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status