File tree Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ vars = {
120120 # EOL comment after a dependency to disable this and pin it at its current
121121 # revision.
122122
123- "args_rev" : "e623652744c82533829f2e62b1aba1a6cf06e291 " , #
123+ "args_rev" : "09c0fca1785c9df39288a48f767994eed80bed40 " , #
124124 "async_rev" : "5f70a996f673d625e3502597084653686c3e754c" ,
125125 "bazel_worker_rev" : "aa3cc9e826350b960e0c5a67e6065bcedba8b0ac" ,
126126 "benchmark_harness_rev" : "44f125ae1d045aa3de09fe88a8dd70cb7352d563" ,
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ void pub() {
9191 var result = await p.run (['pub' , 'deps' , '--foo' ]);
9292 expect (result.exitCode, 64 );
9393 expect (result.stdout, isEmpty);
94- expect (result.stderr, startsWith ('Could not find an option named "foo".' ));
94+ expect (
95+ result.stderr, startsWith ('Could not find an option named "--foo".' ));
9596 });
9697}
Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ void main(List<String> args) => print("$b $args");
414414 expect (result.stdout, isEmpty);
415415 expect (
416416 result.stderr,
417- contains ('Could not find an option named "vm-name".' ),
417+ contains ('Could not find an option named "-- vm-name".' ),
418418 );
419419 expect (result.exitCode, 64 );
420420 });
@@ -433,7 +433,7 @@ void main(List<String> args) => print("$b $args");
433433 expect (result.stdout, isEmpty);
434434 expect (
435435 result.stderr,
436- contains ('Could not find an option named "verbose_gc".' ),
436+ contains ('Could not find an option named "-- verbose_gc".' ),
437437 );
438438 expect (result.exitCode, 64 );
439439 });
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ void main() {
113113
114114 expect (result.exitCode, 64 );
115115 expect (result.stdout,
116- contains ('Could not find an option named "does-not-exist"' ));
116+ contains ('Could not find an option named "-- does-not-exist"' ));
117117 expect (result.stderr, isEmpty);
118118 expect (outputJsFile.existsSync (), isFalse);
119119 });
Original file line number Diff line number Diff line change @@ -86,16 +86,16 @@ void testValidation() {
8686 ['--timeout=1,2' ], 'Integer value expected for option "--timeout".' );
8787
8888 expectValidationError (['--progress=unknown' ],
89- '"unknown" is not an allowed value for option "progress".' );
89+ '"unknown" is not an allowed value for option "-- progress".' );
9090 // Don't allow multiple.
9191 expectValidationError (['--progress=compact,silent' ],
92- '"compact,silent" is not an allowed value for option "progress".' );
92+ '"compact,silent" is not an allowed value for option "-- progress".' );
9393
9494 expectValidationError (['--nnbd=unknown' ],
95- '"unknown" is not an allowed value for option "nnbd".' );
95+ '"unknown" is not an allowed value for option "-- nnbd".' );
9696 // Don't allow multiple.
9797 expectValidationError (['--nnbd=weak,strong' ],
98- '"weak,strong" is not an allowed value for option "nnbd".' );
98+ '"weak,strong" is not an allowed value for option "-- nnbd".' );
9999
100100 // Don't allow invalid named configurations.
101101 expectValidationError (['-ninvalid-vm-android-simarm' ],
You can’t perform that action at this time.
0 commit comments