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

Unified Diff: tests/language_strong/nullaware_opt_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/nullaware_opt_test.dart
diff --git a/tests/language_strong/nullaware_opt_test.dart b/tests/language_strong/nullaware_opt_test.dart
index aae17b79e14ff2841c0cc9818c422c8c53ced770..1a3ef0990e38baede3c055ac64edd0db96f746fc 100644
--- a/tests/language_strong/nullaware_opt_test.dart
+++ b/tests/language_strong/nullaware_opt_test.dart
@@ -32,7 +32,11 @@ test() {
Expect.equals(null, c?.v);
Expect.equals(10, c ?? 10);
Expect.equals(d, d ?? bomb());
- Expect.equals(3, [[3]]?.expand((i) => i).toList()[0]);
+ Expect.equals(
+ 3,
+ [
+ [3]
+ ]?.expand((i) => i).toList()[0]);
Expect.equals(null, (null as List<List<int>>)?.expand((i) => i)?.toList());
var e;
@@ -69,4 +73,4 @@ main() {
test();
test2();
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698