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

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

Issue 11776008: 2nd Retry "Emit more stuff via ASTs" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 12 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
« no previous file with comments | « tests/compiler/dart2js/class_codegen_test.dart ('k') | tests/compiler/dart2js/minify_many_locals_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/compiler_helper.dart
diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart
index 8ed13eeaca918036f165ee1ae0e8ff82ed264932..2bc5a08e06db2c010194393bc7ba2fdd509113d2 100644
--- a/tests/compiler/dart2js/compiler_helper.dart
+++ b/tests/compiler/dart2js/compiler_helper.dart
@@ -78,7 +78,7 @@ String getIntTypeCheck(String variable) {
}
String getNumberTypeCheck(String variable) {
- return "\\(typeof $variable ?!== ?'number'\\)";
+ return """\\(typeof $variable ?!== ?"number"\\)""";
}
bool checkNumberOfMatches(Iterator it, int nb) {
@@ -126,4 +126,3 @@ void compileAndMatchFuzzyHelper(
Expect.isFalse(new RegExp(regexp).hasMatch(generated));
}
}
-
« no previous file with comments | « tests/compiler/dart2js/class_codegen_test.dart ('k') | tests/compiler/dart2js/minify_many_locals_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698