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

Unified Diff: tests/language/ct_const2_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/language/ct_const2_test.dart
diff --git a/tests/language/ct_const2_test.dart b/tests/language/ct_const2_test.dart
index 330fe3d97b2d2220ebfd09f893fac290ee9c507e..6a9f94eb670879693e509c0d29533f5432c73bdf 100644
--- a/tests/language/ct_const2_test.dart
+++ b/tests/language/ct_const2_test.dart
@@ -13,8 +13,8 @@ const i = 1;
const d = 3.3;
const h = 0xf;
const n = null;
-const aList = const[1, 2, 3]; // array literal
-const aMap = const { "1": "one", "2": "banana" }; // map literal
+const aList = const [1, 2, 3]; // array literal
+const aMap = const {"1": "one", "2": "banana"}; // map literal
const INT_LIT = 5;
const INT_LIT_REF = INT_LIT;
@@ -75,9 +75,9 @@ const BOP11 = BOOL_LIT != true;
const BOP20 = 1 * INT_LIT / 3 + INT_LIT + 9;
// Parenthised expressions
-const BOP30 = ( 1 > 2 );
+const BOP30 = (1 > 2);
const BOP31 = (1 * 2) + 3;
-const BOP32= 3 + (1 * 2);
+const BOP32 = 3 + (1 * 2);
// Unary expressions
const UOP1_0 = !BOOL_LIT;
@@ -102,5 +102,4 @@ class A {
static const a = const A(); // Assignment from Constant constructor OK
}
-main () {
-}
+main() {}

Powered by Google App Engine
This is Rietveld 408576698