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

Unified Diff: tests/html/input_element_test.dart

Issue 14190019: Allow null assignments if there is a corresponding marker. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « no previous file | tools/dom/scripts/systemnative.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/input_element_test.dart
diff --git a/tests/html/input_element_test.dart b/tests/html/input_element_test.dart
index fe90511d817eaba3210741326d7171836e980759..4d7f76a13f7b4c0abb8f06e46e19952454bdcbd9 100644
--- a/tests/html/input_element_test.dart
+++ b/tests/html/input_element_test.dart
@@ -177,4 +177,12 @@ main() {
check(new ButtonInputElement(), 'button');
});
});
+
+ group('attributes', () {
+ test('value = null', () {
podivilov1 2013/04/26 08:14:05 test name might be confusing, valueSetNull maybe?
Anton Muhin 2013/04/26 08:47:53 Done.
+ final e = new TextInputElement();
+ e.value = null;
+ expect(e.value, '');
+ });
+ });
}
« no previous file with comments | « no previous file | tools/dom/scripts/systemnative.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698