anchor.diff:  // for details. All rights reserved. Use of this source code is governed by a
   // BSD-style license that can be found in the LICENSE file.
   
  +import 'package:args/command_runner.dart';
  +import 'package:dartdev/dartdev.dart';
   import 'package:test/test.dart';
   
   import '../utils.dart';
  
positive.code: 
    tearDown(() => p?.dispose());
  
    test('pub', () {
      p = project();
      var result = p.runSync('help', ['pub']);
  
  
negative.code:     expect(result.stdout, contains(pubHelpResult.stdout));
      expect(result.stderr, contains(pubHelpResult.stderr));
    });
  
    test('(--help flags also have -h abbr)', () {
      DartdevRunner([]).commands.forEach((String commandKey, Command command) {
        var helpOption = command.argParser.options['help'];
        // Some commands (like pub which use
        // "argParser = ArgParser.allowAnything()") may not have the help Option
        // accessible with the API used above:
        if (helpOption != null) {
          expect(helpOption.abbr, 'h', reason: '');
        }
      });
    });
  }
  