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

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

Issue 1198293002: dart2js: Use an abstract Name class for names in the generated JavaScript ast. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix tests Created 5 years, 6 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: tests/compiler/dart2js/interceptor_test.dart
diff --git a/tests/compiler/dart2js/interceptor_test.dart b/tests/compiler/dart2js/interceptor_test.dart
index 619d01896028ebcff7141ca520fccfa3794e15ea..c9bd14c39242fc72b57e6be9b44e9b9a294a2ab0 100644
--- a/tests/compiler/dart2js/interceptor_test.dart
+++ b/tests/compiler/dart2js/interceptor_test.dart
@@ -31,7 +31,7 @@ main() {
// https://code.google.com/p/dart/issues/detail?id=8106.
compile(TEST_ONE, entry: 'foo', check: (String generated) {
Expect.isTrue(
- generated.contains(new RegExp(r'[$A-Z]+\.toString\$0\(a\)')));
+ generated.contains(new RegExp(r'[$A-Z]+\.toString\$0\$\(a\)')));
Expect.isTrue(generated.contains('myVariableName'));
}),
// Check that an intercepted getter that does not need to be

Powered by Google App Engine
This is Rietveld 408576698