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

Unified Diff: tests/compiler/dart2js/types_of_captured_variables_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/types_of_captured_variables_test.dart
diff --git a/tests/compiler/dart2js/types_of_captured_variables_test.dart b/tests/compiler/dart2js/types_of_captured_variables_test.dart
index 32f61e3c3b4b04c354853a4734226ab54236bf77..d08f5433efbb1a70c62de5c850583c9f6bc180d6 100644
--- a/tests/compiler/dart2js/types_of_captured_variables_test.dart
+++ b/tests/compiler/dart2js/types_of_captured_variables_test.dart
@@ -37,17 +37,17 @@ main() {
main() {
// Test that we know the type of captured, non-mutated variables.
asyncTest(() => compileAll(TEST1).then((generated) {
- Expect.isTrue(generated.contains('+ 87'));
- }));
+ Expect.isTrue(generated.contains('+ 87'));
+ }));
// Test that we know the type of captured, mutated variables.
asyncTest(() => compileAll(TEST2).then((generated) {
- Expect.isTrue(generated.contains('+ 87'));
- }));
+ Expect.isTrue(generated.contains('+ 87'));
+ }));
// Test that we know when types of a captured, mutated variable
// conflict.
asyncTest(() => compileAll(TEST3).then((generated) {
- Expect.isFalse(generated.contains('+ 87'));
- }));
+ Expect.isFalse(generated.contains('+ 87'));
+ }));
}
« no previous file with comments | « tests/compiler/dart2js/type_variable_occurrence_test.dart ('k') | tests/compiler/dart2js/union_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698