Index: pkg/testing/lib/src/run_tests.dart |
diff --git a/pkg/testing/lib/src/run_tests.dart b/pkg/testing/lib/src/run_tests.dart |
index f351f678d5397008c765ea70e89e545c6a329fab..937e1eafdcf63a79668b0ec7bc63b136bca1d6d7 100644 |
--- a/pkg/testing/lib/src/run_tests.dart |
+++ b/pkg/testing/lib/src/run_tests.dart |
@@ -49,9 +49,10 @@ class CommandLine { |
bool get verbose => options.contains("--verbose") || options.contains("-v"); |
- Set<String> get skip { |
+ Set<String> get skip => commaSeparated("--skip="); |
+ |
+ Set<String> commaSeparated(String prefix) { |
return options.expand((String s) { |
- const String prefix = "--skip="; |
if (!s.startsWith(prefix)) return const []; |
s = s.substring(prefix.length); |
return s.split(","); |