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

Unified Diff: dart/tests/compiler/dart2js/static_closure_test.dart

Issue 16135004: Rename JS_CURRENT_ISOLATE to JS_CURRENT_ISOLATE_CONTEXT. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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: dart/tests/compiler/dart2js/static_closure_test.dart
diff --git a/dart/tests/compiler/dart2js/static_closure_test.dart b/dart/tests/compiler/dart2js/static_closure_test.dart
index e6aff7a21ae7bfcd8101dacca90f943662e0d478..4003c61f2a73a0ed95a7c078fede24179960294b 100644
--- a/dart/tests/compiler/dart2js/static_closure_test.dart
+++ b/dart/tests/compiler/dart2js/static_closure_test.dart
@@ -17,5 +17,5 @@ main() {
// If this test fail, please take a look at the use of
// toStringWrapper in captureStackTrace in js_helper.dart.
- Expect.isTrue(code.contains(r'print($.main$closure);'));
+ Expect.isTrue(code.contains(new RegExp(r'print\([$a-z]+\.main\$closure\);')));
}

Powered by Google App Engine
This is Rietveld 408576698