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

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

Issue 23447003: Change reflective serialization rules to be able to take type literals (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 | « pkg/serialization/lib/src/mirrors_helpers.dart ('k') | pkg/serialization/test/serialization_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/serialization/test/no_library_test.dart
diff --git a/pkg/serialization/test/no_library_test.dart b/pkg/serialization/test/no_library_test.dart
index 30c10674adeba5a8b6dba6901d236509ef2c2ed6..33eeda1863ad093a555a4bf50fb3e954d8fc91a0 100644
--- a/pkg/serialization/test/no_library_test.dart
+++ b/pkg/serialization/test/no_library_test.dart
@@ -14,7 +14,7 @@ void main() {
test("Serializing something without a library directive", () {
var thing = new Thing()..name = 'testThing';
var s = new Serialization()
- ..addRuleFor(thing);
+ ..addRuleFor(Thing);
var serialized = s.write(thing);
var newThing = s.read(serialized);
expect(thing.name, newThing.name);
« no previous file with comments | « pkg/serialization/lib/src/mirrors_helpers.dart ('k') | pkg/serialization/test/serialization_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698