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

Unified Diff: tests/corelib_strong/const_list_set_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/const_list_set_range_test.dart
diff --git a/tests/corelib_strong/const_list_set_range_test.dart b/tests/corelib_strong/const_list_set_range_test.dart
index 5a7a755c946194f0bcd9d0e70220a19b6b7e4e12..2dca437a8e11f3d1a88cc3888b08180338ca0002 100644
--- a/tests/corelib_strong/const_list_set_range_test.dart
+++ b/tests/corelib_strong/const_list_set_range_test.dart
@@ -15,15 +15,37 @@ void expectUOE(f()) {
}
testImmutable(var list) {
- expectUOE(() { list.setRange(0, 0, const []); });
- expectUOE(() { list.setRange(0, 1, const [], 1); });
- expectUOE(() { list.setRange(0, 1, const []); });
- expectUOE(() { list.setRange(0, 0, []); });
- expectUOE(() { list.setRange(0, 1, [], 1); });
- expectUOE(() { list.setRange(0, 1, []); });
- expectUOE(() { list.setRange(0, 0, const [1]); });
- expectUOE(() { list.setRange(0, 1, const [1]); });
- expectUOE(() { list.setRange(0, 0, [1]); });
- expectUOE(() { list.setRange(0, 1, [1]); });
- expectUOE(() { list.setRange(0, 1, [1], 1); });
+ expectUOE(() {
+ list.setRange(0, 0, const []);
+ });
+ expectUOE(() {
+ list.setRange(0, 1, const [], 1);
+ });
+ expectUOE(() {
+ list.setRange(0, 1, const []);
+ });
+ expectUOE(() {
+ list.setRange(0, 0, []);
+ });
+ expectUOE(() {
+ list.setRange(0, 1, [], 1);
+ });
+ expectUOE(() {
+ list.setRange(0, 1, []);
+ });
+ expectUOE(() {
+ list.setRange(0, 0, const [1]);
+ });
+ expectUOE(() {
+ list.setRange(0, 1, const [1]);
+ });
+ expectUOE(() {
+ list.setRange(0, 0, [1]);
+ });
+ expectUOE(() {
+ list.setRange(0, 1, [1]);
+ });
+ expectUOE(() {
+ list.setRange(0, 1, [1], 1);
+ });
}

Powered by Google App Engine
This is Rietveld 408576698