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

Unified Diff: tests/html/element_classes_test.dart

Issue 11418075: Dartifying members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing menuelement.compact exclusion. 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
« no previous file with comments | « tests/html/element_add_test.dart ('k') | tests/html/event_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/element_classes_test.dart
diff --git a/tests/html/element_classes_test.dart b/tests/html/element_classes_test.dart
index ab0be3b866ad5b0b7e4607085b3fe91eb8e89725..2ef18ccfdc2d5a02f5930417ec9a8c700ff02ab3 100644
--- a/tests/html/element_classes_test.dart
+++ b/tests/html/element_classes_test.dart
@@ -21,7 +21,7 @@ main() {
Set<String> makeClassSet() => makeElementWithClasses().classes;
Set<String> extractClasses(Element el) {
- final match = new RegExp('class="([^"]+)"').firstMatch(el.outerHTML);
+ final match = new RegExp('class="([^"]+)"').firstMatch(el.outerHtml);
return new Set.from(match[1].split(' '));
}
@@ -45,7 +45,7 @@ main() {
});
test('toString', () {
- expect(makeClassSet().toString().split(' '),
+ expect(makeClassSet().toString().split(' '),
unorderedEquals(['foo', 'bar', 'baz']));
expect(makeElement().classes.toString(), '');
});
« no previous file with comments | « tests/html/element_add_test.dart ('k') | tests/html/event_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698