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

Unified Diff: test/all_test.dart

Issue 1411523003: add a JsonInfoCodec class (Closed) Base URL: git@github.com:dart-lang/dart2js_info.git@master
Patch Set: Created 5 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
« no previous file with comments | « pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/all_test.dart
diff --git a/test/all_test.dart b/test/all_test.dart
index 40cdf2ea0e4a7c98c83f7177000ce7ad46bc804f..3dc55465fa128680828172466c88d82ee6fdde73 100644
--- a/test/all_test.dart
+++ b/test/all_test.dart
@@ -21,7 +21,7 @@ main() {
'program': {'size': 10},
};
- expect(new AllInfo.fromJson(json).program.size, 10);
+ expect(new AllInfoJsonCodec().decode(json).program.size, 10);
});
});
}
« no previous file with comments | « pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698