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

Unified Diff: pkg/serialization/test/serialization_test.dart

Issue 11791053: Fix bug 7763, use of reserved word as identifier in serialization tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | pkg/serialization/test/test_models.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/serialization/test/serialization_test.dart
diff --git a/pkg/serialization/test/serialization_test.dart b/pkg/serialization/test/serialization_test.dart
index dcd8a56dea7928f3863bcc369f1afedd3c9cc371..206651bca61c89222eb29440daf1e192540710e7 100644
--- a/pkg/serialization/test/serialization_test.dart
+++ b/pkg/serialization/test/serialization_test.dart
@@ -306,7 +306,7 @@ main() {
var s = new Serialization()
..selfDescribing = false
..addRuleFor(a1,
- constructor: 'with',
+ constructor: 'withData',
constructorFields: ["street", "Kirkland", "WA", "98103"],
fields: []);
var out = s.write(a1);
« no previous file with comments | « no previous file | pkg/serialization/test/test_models.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698