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

Unified Diff: tests/html/htmlelement_test.dart

Issue 11418075: Dartifying members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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
Index: tests/html/htmlelement_test.dart
diff --git a/tests/html/htmlelement_test.dart b/tests/html/htmlelement_test.dart
index b7964c29122f40953dff406e3eba5a2c5be08a1f..f9455dfa33f85e905cd756bd3ad92436d39e490a 100644
--- a/tests/html/htmlelement_test.dart
+++ b/tests/html/htmlelement_test.dart
@@ -8,11 +8,11 @@ main() {
test('InnerHTML', () {
Element element = new Element.tag('div');
element.id = 'test';
- element.innerHTML = 'Hello World';
+ element.innerHtml = 'Hello World';
document.body.nodes.add(element);
element = document.query('#test');
- expect(element.innerHTML, 'Hello World');
+ expect(element.innerHtml, 'Hello World');
element.remove();
});
test('HTMLTable', () {
@@ -68,7 +68,7 @@ main() {
expect(keys, unorderedEquals(['foo', 'bar']));
expect(values, unorderedEquals(['foo-value', 'bar-value']));
- expect(new List<String>.from(div.dataAttributes.keys),
+ expect(new List<String>.from(div.dataAttributes.keys),
unorderedEquals(['foo', 'bar']));
expect(new List<String>.from(div.dataAttributes.values),
unorderedEquals(['foo-value', 'bar-value']));

Powered by Google App Engine
This is Rietveld 408576698