Remove duplicate children test (#11751)

This commit is contained in:
Scott Miller 2021-06-02 15:10:43 -05:00 committed by GitHub
parent a9c9bb3cde
commit dc0774731d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -354,8 +354,5 @@ func compareResult(exp *diagnose.Result, act *diagnose.Result) error {
return compareResults(exp.Children, act.Children) return compareResults(exp.Children, act.Children)
} }
if len(exp.Children) > 0 {
return compareResults(exp.Children, act.Children)
}
return nil return nil
} }