Remove duplicate children test (#11751)
This commit is contained in:
parent
a9c9bb3cde
commit
dc0774731d
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue