asteris-llc/converge

View on GitHub
load/nodes_test.go

Summary

Maintainability
A
1 hr
Test Coverage

Function TestNodeWithConditionals has 69 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func TestNodeWithConditionals(t *testing.T) {
    t.Parallel()
    defer logging.HideLogs(t)()
    g, err := load.Nodes(context.Background(), "../samples/conditionalLanguages.hcl", false)
    require.NoError(t, err)
Severity: Minor
Found in load/nodes_test.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status