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

Unified Diff: samples/third_party/dromaeo/tests/dom-query-htmlidiomatic.dart

Issue 9963004: Use the new syntax for native methods that are just renames of other native methods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Ready to review... Sra's change actually fixed a failing test instead of causing a new test to fail! Created 8 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 | « samples/third_party/dromaeo/tests/dom-query-html.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/dromaeo/tests/dom-query-htmlidiomatic.dart
diff --git a/samples/third_party/dromaeo/tests/dom-query-htmlidiomatic.dart b/samples/third_party/dromaeo/tests/dom-query-htmlidiomatic.dart
index fd1e9c1c7b54cf657e6597b67587259783b8d0e0..cb5284db6eac8a99d89be1559b8ec3ed0f403699 100644
--- a/samples/third_party/dromaeo/tests/dom-query-htmlidiomatic.dart
+++ b/samples/third_party/dromaeo/tests/dom-query-htmlidiomatic.dart
@@ -75,7 +75,7 @@ void main() {
.test('getElementsByTagName (not in document)', () {
for (int i = 0; i < num; i++) {
ElementList elems = document.queryAll('strong');
- ret = elems.last().$dom_nodeType;
+ ret = elems.isEmpty();
}
})
.test('getElementsByName', () {
« no previous file with comments | « samples/third_party/dromaeo/tests/dom-query-html.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698