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

Unified Diff: frog/tests/leg/src/PrettyParameterTest.dart

Issue 9193016: Add the arity to calls, and support noSuchMethodException. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 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: frog/tests/leg/src/PrettyParameterTest.dart
===================================================================
--- frog/tests/leg/src/PrettyParameterTest.dart (revision 3496)
+++ frog/tests/leg/src/PrettyParameterTest.dart (working copy)
@@ -78,10 +78,10 @@
Expect.isTrue(regexp.hasMatch(generated));
generated = compile(PARAMETER_AND_TEMP, 'bar');
- regexp = const RegExp("print\\(t0\\)");
+ regexp = const RegExp("print\\\$1\\(t0\\)");
Expect.isTrue(regexp.hasMatch(generated));
// Check that the second 't0' got another name.
- regexp = const RegExp("print\\(t0_0\\)");
+ regexp = const RegExp("print\\\$1\\(t0_0\\)");
Expect.isTrue(regexp.hasMatch(generated));
generated = compile(NO_LOCAL, 'foo');

Powered by Google App Engine
This is Rietveld 408576698