Index: pkg/analyzer_cli/test/options_test.dart |
diff --git a/pkg/analyzer_cli/test/options_test.dart b/pkg/analyzer_cli/test/options_test.dart |
index 50ee98c3103b2f75f6be4e1ecda4fed0e7413165..d34d7afdd8cfff71b10c7d6a5acd46213d0efe59 100644 |
--- a/pkg/analyzer_cli/test/options_test.dart |
+++ b/pkg/analyzer_cli/test/options_test.dart |
@@ -286,6 +286,16 @@ class CommandLineOptionsTest extends AbstractStatusTest { |
options.buildSummaryInputs, ['/path/to/aaa.sum', '/path/to/bbb.sum']); |
} |
+ test_buildSummaryInputs_commaSeparated_normalMode() { |
+ _parse([ |
+ '--build-summary-input=/path/to/aaa.sum,/path/to/bbb.sum', |
+ '/path/to/p/lib/foo.dart' |
+ ]); |
+ expect(options.buildMode, isFalse); |
+ expect( |
+ options.buildSummaryInputs, ['/path/to/aaa.sum', '/path/to/bbb.sum']); |
+ } |
+ |
test_buildSummaryInputs_separateFlags() { |
_parse([ |
'--build-mode', |
@@ -298,6 +308,17 @@ class CommandLineOptionsTest extends AbstractStatusTest { |
options.buildSummaryInputs, ['/path/to/aaa.sum', '/path/to/bbb.sum']); |
} |
+ test_buildSummaryInputs_separateFlags_normalMode() { |
+ _parse([ |
+ '--build-summary-input=/path/to/aaa.sum', |
+ '--build-summary-input=/path/to/bbb.sum', |
+ 'package:p/foo.dart|/path/to/p/lib/foo.dart' |
+ ]); |
+ expect(options.buildMode, isFalse); |
+ expect( |
+ options.buildSummaryInputs, ['/path/to/aaa.sum', '/path/to/bbb.sum']); |
+ } |
+ |
test_buildSummaryOnly() { |
_parse([ |
'--build-mode', |