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

Unified Diff: tests/corelib/list_get_range_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/corelib/list_get_range_test.dart
diff --git a/tests/corelib/list_get_range_test.dart b/tests/corelib/list_get_range_test.dart
index 221931c9c10fbd4f92e550820b98f8e4fad03417..5aafd763b7ab6dae70ea459a87af0afd8c623ca5 100644
--- a/tests/corelib/list_get_range_test.dart
+++ b/tests/corelib/list_get_range_test.dart
@@ -5,11 +5,21 @@
import "package:expect/expect.dart";
testGetRange(list, start, end, bool isModifiable) {
- expectRE(() { list.getRange(-1, 0); });
- expectRE(() { list.getRange(0, -1); });
- expectRE(() { list.getRange(1, 0); });
- expectRE(() { list.getRange(0, list.length + 1); });
- expectRE(() { list.getRange(list.length + 1, list.length + 1); });
+ expectRE(() {
+ list.getRange(-1, 0);
+ });
+ expectRE(() {
+ list.getRange(0, -1);
+ });
+ expectRE(() {
+ list.getRange(1, 0);
+ });
+ expectRE(() {
+ list.getRange(0, list.length + 1);
+ });
+ expectRE(() {
+ list.getRange(list.length + 1, list.length + 1);
+ });
Iterable iterable = list.getRange(start, end);
Expect.isFalse(iterable is List);
if (start == end) {

Powered by Google App Engine
This is Rietveld 408576698