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

Unified Diff: tests/html/element_test.dart

Issue 12549025: Narrowing attribute maps to only accept strings. (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/dartium/html_dartium.dart ('k') | tests/html/instance_of_test.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 3c5a1fbcdf0a50756bf7d0f97498c9c6b1c71b9e..53a743c8c3c8a028f227de1e0c7312f17d4e28c6 100644
--- a/tests/html/element_test.dart
+++ b/tests/html/element_test.dart
@@ -280,13 +280,6 @@ main() {
});
group('attributes', () {
- test('coercion', () {
- final element = new Element.tag('div');
- element.attributes['foo'] = 42;
- element.attributes['bar'] = 3.1;
- expect(element.attributes['foo'], '42');
- expect(element.attributes['bar'], '3.1');
- });
test('manipulation', () {
final element = new Element.html(
'''<div class="foo" style="overflow: hidden" data-foo="bar"
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tests/html/instance_of_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698