Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: tests/html/element_test.dart

Issue 12510003: Fixing a number of dart:html analyzer issues (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/html/html_common/lists.dart ('k') | tools/dom/src/CssClassSet.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/element_test.dart
diff --git a/tests/html/element_test.dart b/tests/html/element_test.dart
index a255c6856dd79aeea94268b16aef0727a9e13fef..d9fa2a66ea65045884f061f0cf97b4bf3905112c 100644
--- a/tests/html/element_test.dart
+++ b/tests/html/element_test.dart
@@ -439,12 +439,6 @@ main() {
expect(el.children.last, isHRElement);
});
- test('addLast', () {
- var el = makeElement();
- el.children.addLast(new Element.tag('hr'));
- expect(el.children.last, isHRElement);
- });
-
test('iterator', () {
var els = [];
var el = makeElementWithChildren();
@@ -594,8 +588,6 @@ main() {
testUnsupported('[]=', () => getQueryAll()[1] = new Element.tag('br'));
testUnsupported('add', () => getQueryAll().add(new Element.tag('br')));
- testUnsupported('addLast', () =>
- getQueryAll().addLast(new Element.tag('br')));
testUnsupported('addAll', () {
getQueryAll().addAll([
« no previous file with comments | « sdk/lib/html/html_common/lists.dart ('k') | tools/dom/src/CssClassSet.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698