xref #19058 I believe this can be subsumed with simple ``result.equals(expected)`` index comparisions. no need to have a non-standard comparison method.