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

Unified Diff: dart/tests/corelib/apply2_test.dart

Issue 14107006: Update Function.apply to use Symbol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 7 years, 8 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 | « dart/sdk/lib/core/function.dart ('k') | dart/tests/corelib/apply_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/corelib/apply2_test.dart
diff --git a/dart/tests/corelib/apply2_test.dart b/dart/tests/corelib/apply2_test.dart
index e733a2421aa12be83fa4a9f3b4f4b361811d1b08..f2984bffd73a3e1ab4fb5166c569069d9cf3b8ee 100644
--- a/dart/tests/corelib/apply2_test.dart
+++ b/dart/tests/corelib/apply2_test.dart
@@ -3,10 +3,12 @@
// BSD-style license that can be found in the LICENSE file.
import "package:expect/expect.dart";
+import "symbol_map_helper.dart";
apply(Function function, ArgumentDescriptor args) {
return Function.apply(
- function, args.positionalArguments, args.namedArguments);
+ function, args.positionalArguments,
+ symbolMapToStringMap(args.namedArguments));
}
class ArgumentDescriptor {
« no previous file with comments | « dart/sdk/lib/core/function.dart ('k') | dart/tests/corelib/apply_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698