asteris-llc/converge

View on GitHub
helpers/comparison/diff.go

Summary

Maintainability
A
35 mins
Test Coverage

Function AssertDiff has 5 return statements (exceeds 4 allowed).
Open

func AssertDiff(t *testing.T, diffs map[string]resource.Diff, name, original, current string) bool {
    var ok bool

    if ok = assert.NotEmpty(t, diffs); !ok {
        return false
Severity: Major
Found in helpers/comparison/diff.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status