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

Unified Diff: tests/language_strong/many_named_arguments_test.dart

Issue 2989993002: fix unsound cast failures in tests (Closed)
Patch Set: fix Created 3 years, 5 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 | « tests/language_strong/async_test.dart ('k') | tests/lib_strong/collection/linked_list_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_strong/many_named_arguments_test.dart
diff --git a/tests/language_strong/many_named_arguments_test.dart b/tests/language_strong/many_named_arguments_test.dart
index d83d469e70ed86c83987952584a4194a5786d396..015a13795f3e65ddfc3c190ddbc0a599d022f65c 100644
--- a/tests/language_strong/many_named_arguments_test.dart
+++ b/tests/language_strong/many_named_arguments_test.dart
@@ -63,7 +63,7 @@ class Fisk {
main() {
var method = new Fisk().method;
- var namedArguments = new Map();
+ var namedArguments = new Map<Symbol, dynamic>();
namedArguments[const Symbol('a')] = 'a';
Expect.stringEquals(
EXPECTED_RESULT, Function.apply(method, [], namedArguments));
« no previous file with comments | « tests/language_strong/async_test.dart ('k') | tests/lib_strong/collection/linked_list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698