| Index: tests/corelib/sort_helper.dart
|
| diff --git a/tests/corelib/sort_helper.dart b/tests/corelib/sort_helper.dart
|
| index 7c144b2394d66a77c1e25db96a4ffd75104f6d53..3e9dd77774d49390f40eecc734ac286283537f81 100644
|
| --- a/tests/corelib/sort_helper.dart
|
| +++ b/tests/corelib/sort_helper.dart
|
| @@ -12,7 +12,6 @@ class SortHelper {
|
| }
|
|
|
| void printList(List a) {
|
| - if (true) return;
|
| StringBuffer buffer = new StringBuffer();
|
| for (int i = 0; i < a.length; i++) {
|
| if (i != 0) buffer.add(",");
|
| @@ -123,12 +122,13 @@ class SortHelper {
|
| }
|
|
|
| void testSort(List a) {
|
| - printList(a);
|
| + final bool log = false;
|
| + if (log) printList(a);
|
| sortFunction(a);
|
| - printList(a);
|
| + if (log) printList(a);
|
| bool sorted = isSorted(a);
|
| Expect.equals(true, sorted);
|
| - print(sorted);
|
| + if (log) print(sorted);
|
| }
|
|
|
| void testInsertionSort(int i1, int i2, int i3, int i4) {
|
|
|