| 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);
|
|
|
|
|