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

Unified Diff: frog/tests/leg/src/TypeInferenceTest.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/TypeInferenceTest.dart
diff --git a/frog/tests/leg/src/TypeInferenceTest.dart b/frog/tests/leg/src/TypeInferenceTest.dart
index 3dc7f6bf1a517232d43c812371c162dd8646f5a1..b0cd87e023b07d384b80a315e30571982e1b1baa 100644
--- a/frog/tests/leg/src/TypeInferenceTest.dart
+++ b/frog/tests/leg/src/TypeInferenceTest.dart
@@ -48,7 +48,7 @@ main(a) {
main() {
String generated = compile(TEST_ONE, 'sum');
- RegExp regexp = new RegExp("i = \\(?$anyIdentifier \\+ 1\\)?");
+ RegExp regexp = new RegExp("i = \\(?$anyIdentifier \\+ \\(1\\)\\)?");
Expect.isTrue(regexp.hasMatch(generated));
regexp = new RegExp("sum = \\(?$anyIdentifier \\+ $anyIdentifier\\)?");

Powered by Google App Engine
This is Rietveld 408576698