anchor.diff:        }
       }
   
  -    bool childrenEqual = compareHtml(expected.children, actual.children);
  +    var childrenEqual = compareHtml(expected.children, actual.children);
   
       if (!childrenEqual) {
         return false;
  
positive.code:         return false;
        }
  
        List expectedAttrKeys = new List.from(expected.attributes.keys);
        expectedAttrKeys.sort();
  
        List actualAttrKeys = new List.from(actual.attributes.keys);
        actualAttrKeys.sort();
  
        for (int attrNum in new List.generate(actualAttrKeys.length, (i) => i)) {
          var expectedAttrKey = expectedAttrKeys[attrNum];
          var actualAttrKey = actualAttrKeys[attrNum];
  
  
negative.code: }
  
  /// Compare two DOM trees for equality.
  bool compareHtml(List<Element> expectedElements, List<Element> actualElements) {
    if (expectedElements.length != actualElements.length) {
      return false;
    }
  
    for (var childNum = 0; childNum < expectedElements.length; childNum++) {
      var expected = expectedElements[childNum];
      var actual = actualElements[childNum];
  
      if (expected.runtimeType != actual.runtimeType) {
        return false;
  