gitlabhq/gitlab-shell

View on GitHub
internal/command/shared/customaction/customaction_test.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function TestExecuteEOFSent has 51 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func TestExecuteEOFSent(t *testing.T) {
    who := "key-1"

    requests := []testserver.TestRequestHandler{
        {
Severity: Minor
Found in internal/command/shared/customaction/customaction_test.go - About 1 hr to fix

    Function TestExecuteNoEOFSent has 51 lines of code (exceeds 50 allowed). Consider refactoring.
    Open

    func TestExecuteNoEOFSent(t *testing.T) {
        who := "key-1"
    
        requests := []testserver.TestRequestHandler{
            {
    Severity: Minor
    Found in internal/command/shared/customaction/customaction_test.go - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status