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

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

Issue 2990223002: Reformat untouched files. (Closed)
Patch Set: Created 3 years, 4 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/const_exp_test.dart
diff --git a/tests/compiler/dart2js/const_exp_test.dart b/tests/compiler/dart2js/const_exp_test.dart
index c2ba74e7d1f8279007fcf317f487d54099051ef6..45d212c2333c21e2a9afff192c8a71d6842d2756 100644
--- a/tests/compiler/dart2js/const_exp_test.dart
+++ b/tests/compiler/dart2js/const_exp_test.dart
@@ -11,9 +11,7 @@ test(String constantInitializer, [String expectedOutput]) {
if (expectedOutput == null) {
expectedOutput = constantInitializer;
}
- return () => TypeEnvironment
- .create(
- """
+ return () => TypeEnvironment.create("""
class Class<T, S> {
final a;
final b;
@@ -29,9 +27,7 @@ test(String constantInitializer, [String expectedOutput]) {
const toplevelConstant = 0;
toplevelFunction() {}
const constant = $constantInitializer;
-""",
- expectNoWarningsOrErrors: true)
- .then((env) {
+""", expectNoWarningsOrErrors: true).then((env) {
dynamic element = env.getElement('constant');
Expect.isNotNull(element, "Element 'constant' not found.");
var constant = element.constant;
« no previous file with comments | « tests/compiler/dart2js/compiler_helper.dart ('k') | tests/compiler/dart2js/constant_expression_evaluate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698