Index: pkg/unittest/lib/compact_vm_config.dart |
diff --git a/pkg/unittest/lib/compact_vm_config.dart b/pkg/unittest/lib/compact_vm_config.dart |
index cb21d4df5d944679cbe3aff2f02d6ab812e17fa2..6b46a656692fa6b755461cf08620b64748bc01ad 100644 |
--- a/pkg/unittest/lib/compact_vm_config.dart |
+++ b/pkg/unittest/lib/compact_vm_config.dart |
@@ -58,7 +58,7 @@ class CompactVMConfiguration extends VMConfiguration { |
} |
String _indent(String str) { |
- return str.split("\n").mappedBy((line) => " $line").join("\n"); |
+ return str.split("\n").map((line) => " $line").join("\n"); |
} |
void onSummary(int passed, int failed, int errors, List<TestCase> results, |