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

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

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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/generate_at_use_site_test.dart
diff --git a/tests/compiler/dart2js/generate_at_use_site_test.dart b/tests/compiler/dart2js/generate_at_use_site_test.dart
index 4e9e1004e878e0b1c0caba34c24f79ff5e6ee9c3..c95183620b44ec084782b5411e3f9bfce63a35e5 100644
--- a/tests/compiler/dart2js/generate_at_use_site_test.dart
+++ b/tests/compiler/dart2js/generate_at_use_site_test.dart
@@ -52,16 +52,16 @@ foo(a) {
main() {
asyncTest(() => Future.wait([
- // Make sure we don't introduce a new variable.
- compileAndDoNotMatch(FIB, 'fib', new RegExp("var $anyIdentifier =")),
+ // Make sure we don't introduce a new variable.
+ compileAndDoNotMatch(FIB, 'fib', new RegExp("var $anyIdentifier =")),
- compileAndDoNotMatch(BAR, 'bar', new RegExp("isLeaf")),
+ compileAndDoNotMatch(BAR, 'bar', new RegExp("isLeaf")),
- compile(TEST, entry: 'foo', check: (String generated) {
- Expect.isFalse(generated.contains('else'));
- // Regression check to ensure that there is no floating variable
- // expression.
- Expect.isFalse(new RegExp('^[ ]*a;').hasMatch(generated));
- }),
- ]));
+ compile(TEST, entry: 'foo', check: (String generated) {
+ Expect.isFalse(generated.contains('else'));
+ // Regression check to ensure that there is no floating variable
+ // expression.
+ Expect.isFalse(new RegExp('^[ ]*a;').hasMatch(generated));
+ }),
+ ]));
}
« no previous file with comments | « tests/compiler/dart2js/frontend_checker.dart ('k') | tests/compiler/dart2js/generate_code_with_compile_time_errors_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698