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

Unified Diff: test/pretty_print_test.dart

Issue 1827353003: pkg/matcher: a few more strong-mode fixes (Closed) Base URL: https://github.com/dart-lang/matcher.git@master
Patch Set: nit Created 4 years, 9 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') | test/test_utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/pretty_print_test.dart
diff --git a/test/pretty_print_test.dart b/test/pretty_print_test.dart
index c71a94fc24d59b02cccc65504817b21e684a3de2..551db459e8f8eada60838c3688b319d82c0c7efb 100644
--- a/test/pretty_print_test.dart
+++ b/test/pretty_print_test.dart
@@ -120,7 +120,7 @@ void main() {
});
test("that's recursive", () {
- var list = [1, 2, 3];
+ var list = <dynamic>[1, 2, 3];
list.add(list);
expect(prettyPrint(list), equals("[1, 2, 3, (recursive)]"));
});
« no previous file with comments | « pubspec.yaml ('k') | test/test_utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698