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

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: make accept dynamic 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
« lib/src/measurements.dart ('K') | « 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..03f37033f3efbdd3cc7830f8d76efc5c40dbb3d9 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 JsonInfoCodec().decode(json).program.size, 10);
});
});
}
« lib/src/measurements.dart ('K') | « pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698