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

Unified Diff: tests/language_strong/list_literal_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_strong/list_literal_test.dart
diff --git a/tests/language_strong/list_literal_test.dart b/tests/language_strong/list_literal_test.dart
index ccfa1c50e88b69a2dd647973c48a7baec3a987e4..4956f3ec0e7613c15cd968e45f56a5afff82df9b 100644
--- a/tests/language_strong/list_literal_test.dart
+++ b/tests/language_strong/list_literal_test.dart
@@ -6,13 +6,14 @@
import "package:expect/expect.dart";
class ListLiteralTest {
-
static const LAUREL = 1;
- static const HARDY = 2;
+ static const HARDY = 2;
static testMain() {
-
- var funny = <int>[LAUREL, HARDY, ]; // Check that trailing comma works.
+ var funny = <int>[
+ LAUREL,
+ HARDY,
+ ]; // Check that trailing comma works.
Expect.equals(2, funny.length);
List<int> m = <int>[101, 102, 100 + 3];
@@ -32,7 +33,11 @@ class ListLiteralTest {
e2 = const <num>[5.1, -55, 555, 5555][2];
Expect.equals(555, e2);
- e2 = const [5.1, const <num>[-55, 555], 5555][1][1];
+ e2 = const [
+ 5.1,
+ const <num>[-55, 555],
+ 5555
+ ][1][1];
Expect.equals(555, e2);
Expect.equals(0, [].length);

Powered by Google App Engine
This is Rietveld 408576698