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

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

Issue 10065015: Reapply "Reduce size by emitting $.foo instead of Isolate.prototype.foo." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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/NoDuplicateConstructorBodyTest.dart
diff --git a/frog/tests/leg/src/NoDuplicateConstructorBodyTest.dart b/frog/tests/leg/src/NoDuplicateConstructorBodyTest.dart
index ed811e2866318400ec1732d0896d72b472da7069..ba8ce319950e9a9314a7ed240b940e5c16b140fd 100644
--- a/frog/tests/leg/src/NoDuplicateConstructorBodyTest.dart
+++ b/frog/tests/leg/src/NoDuplicateConstructorBodyTest.dart
@@ -16,7 +16,7 @@ main() {
main() {
String generated = compileAll(CODE);
- RegExp regexp = new RegExp('Isolate.prototype.A.prototype.A');
+ RegExp regexp = new RegExp(@'\$.A.prototype.A');
Iterator<Match> matches = regexp.allMatches(generated).iterator();
checkNumberOfMatches(matches, 1);
}

Powered by Google App Engine
This is Rietveld 408576698