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

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

Issue 9592009: Reapply "Refactor constant part." (r4958) with fixes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update tests and fix code after renaming. Created 8 years, 9 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/TypeGuardUnuserTest.dart
diff --git a/frog/tests/leg/src/TypeGuardUnuserTest.dart b/frog/tests/leg/src/TypeGuardUnuserTest.dart
index 4aaced0549eef75590f21facc4aa13a778ecb63b..613d22120ec50f477cc8c5ba635af787d17452b5 100644
--- a/frog/tests/leg/src/TypeGuardUnuserTest.dart
+++ b/frog/tests/leg/src/TypeGuardUnuserTest.dart
@@ -40,7 +40,7 @@ main() {
Expect.isTrue(regexp.hasMatch(generated));
generated = compile(TEST_TWO, 'foo');
- regexp = const RegExp("foo\\\$1\\(1\\)");
+ regexp = const RegExp("foo\\\$1\\(\\(1\\)\\)");
matches = regexp.allMatches(generated).iterator();
checkNumberOfMatches(matches, 1);

Powered by Google App Engine
This is Rietveld 408576698