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

Unified Diff: tests/language/efficient_length_warning_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/efficient_length_warning_test.dart
diff --git a/tests/language/efficient_length_warning_test.dart b/tests/language/efficient_length_warning_test.dart
index 5edfc720c0634fbcac6b82c5b879aea799cc6a7d..5ba2c6fdfc98666cf1d372c913bca23257ff9833 100644
--- a/tests/language/efficient_length_warning_test.dart
+++ b/tests/language/efficient_length_warning_test.dart
@@ -10,7 +10,8 @@ main() {
// of List<int> and Set<int> is Object.
// The LUB is now EfficientLengthIterable and it extends Iterable.
var x = (new Random().nextBool() // Unpredictable condition.
- ? <int>[1]
- : new Set<int>.from([1])).first;
+ ? <int>[1]
+ : new Set<int>.from([1]))
+ .first;
if (x != 1) throw "Wat?";
}

Powered by Google App Engine
This is Rietveld 408576698