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

Unified Diff: test/codegen/lib/convert/codec2_test.dart

Issue 1978963002: Upgrade to the latest dart:convert. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 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: test/codegen/lib/convert/codec2_test.dart
diff --git a/test/codegen/lib/convert/codec2_test.dart b/test/codegen/lib/convert/codec2_test.dart
index e8fa875df22eaf7f11a272ab9c4799572e7fc77b..e8ae6d998b83bc3acd8f91f36b2213c12b4ed7c8 100644
--- a/test/codegen/lib/convert/codec2_test.dart
+++ b/test/codegen/lib/convert/codec2_test.dart
@@ -38,5 +38,5 @@ main() {
List<int> bytes = JSON_TO_BYTES.encode(["json-object"]);
decoded = JSON_TO_BYTES.decode(bytes);
Expect.isTrue(decoded is List);
- Expect.equals("json-object", decoded[0]);
+ Expect.equals("json-object", (decoded as List)[0]);
}
« no previous file with comments | « test/codegen/lib/convert/chunked_conversion1_test.dart ('k') | test/codegen/lib/convert/html_escape_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698