Index: tests/html/element_test.dart |
diff --git a/tests/html/element_test.dart b/tests/html/element_test.dart |
index 35b5b2ec24d33796b017ae6fd2264457fcd394e6..7fc6bfeb5e3acb01f893e5112ca6ec88a3f8bab4 100644 |
--- a/tests/html/element_test.dart |
+++ b/tests/html/element_test.dart |
@@ -479,9 +479,9 @@ main() { |
expect(el.children.length, 1); |
}); |
- test('getRange', () { |
+ test('sublist', () { |
var el = makeElementWithChildren(); |
- expect(el.children.getRange(1, 1), isElementList); |
+ expect(el.children.sublist(1, 2), isElementList); |
}); |
}); |
@@ -582,8 +582,8 @@ main() { |
expect(els[2], isHRElement); |
}); |
- test('getRange', () { |
- expect(getQueryAll().getRange(1, 1) is List<Element>, isTrue); |
+ test('sublist', () { |
+ expect(getQueryAll().sublist(1, 2) is List<Element>, isTrue); |
}); |
testUnsupported('[]=', () => getQueryAll()[1] = new Element.tag('br')); |
@@ -632,8 +632,8 @@ main() { |
expect(filtered, isElementIterable); |
}); |
- test('getRange', () { |
- var range = makeElList().getRange(1, 2); |
+ test('sublist', () { |
+ var range = makeElList().sublist(1, 3); |
expect(range, isElementList); |
expect(range[0], isImageElement); |
expect(range[1], isInputElement); |