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

Unified Diff: frog/tests/leg/src/TypeGuardUnuserTest.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
« no previous file with comments | « frog/tests/leg/src/SsaPhiEliminatorTest.dart ('k') | frog/tests/leg/src/mock_compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tests/leg/src/TypeGuardUnuserTest.dart
===================================================================
--- frog/tests/leg/src/TypeGuardUnuserTest.dart (revision 3539)
+++ frog/tests/leg/src/TypeGuardUnuserTest.dart (working copy)
@@ -15,7 +15,7 @@
final String TEST_TWO = @"""
bar(a) {}
-foo() {
+foo(d) {
int a = 1;
int c = foo(1);
if (true) {}
@@ -47,7 +47,7 @@
Expect.isTrue(regexp.hasMatch(generated));
generated = compile(TEST_TWO, 'foo');
- regexp = const RegExp("foo\\(1\\)");
+ regexp = const RegExp("foo\\\$1\\(1\\)");
matches = regexp.allMatches(generated).iterator();
checkNumberOfMatches(matches, 1);
« no previous file with comments | « frog/tests/leg/src/SsaPhiEliminatorTest.dart ('k') | frog/tests/leg/src/mock_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698