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

Unified Diff: tests/corelib_strong/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_strong/list_get_range_test.dart
diff --git a/tests/corelib_strong/list_get_range_test.dart b/tests/corelib_strong/list_get_range_test.dart
index faecef0d766ed290f56e0806012bdef1121bfcfb..8ac315769d3ac6c7be3760e43b8602c2105060d4 100644
--- a/tests/corelib_strong/list_get_range_test.dart
+++ b/tests/corelib_strong/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