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

Unified Diff: pkg/intl/test/date_time_format_test_core.dart

Issue 11194025: Second round of cleanups for new optional parameter semantics. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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
Index: pkg/intl/test/date_time_format_test_core.dart
===================================================================
--- pkg/intl/test/date_time_format_test_core.dart (revision 13754)
+++ pkg/intl/test/date_time_format_test_core.dart (working copy)
@@ -338,7 +338,7 @@
test('Test default format', () {
var someDate = new Date(2012, 1, 27, 20, 58, 59, 1);
- var emptyFormat = new DateFormat(locale: "en_US");
+ var emptyFormat = new DateFormat(null, "en_US");
var knownDefault = new DateFormat.yMMMMd("en_US").add_jms();
var result = emptyFormat.format(someDate);
var knownResult = knownDefault.format(someDate);

Powered by Google App Engine
This is Rietveld 408576698