anchor.diff:        String workingDirectory}) {
       runOptions = mergeWorkingDirectory(workingDirectory, runOptions);
       var scriptArg = script == null ? package : '$package:$script';
  -    List args = ['run', scriptArg];
  +    List<String> args = ['run', scriptArg];
       if (arguments != null) args.addAll(arguments);
       return runlib.run(sdkBin('pub'), arguments: args, runOptions: runOptions);
     }
  
positive.code:     String workingDirectory,
    }) {
      runOptions = mergeWorkingDirectory(workingDirectory, runOptions);
      List args = ['build'];
      if (mode != null) args.add('--mode=${mode}');
      if (outputDirectory != null) args.add('--output=${outputDirectory}');
      if (directories != null && directories.isNotEmpty) args.addAll(directories);
  
negative.code:       String workingDirectory}) {
      runOptions = mergeWorkingDirectory(workingDirectory, runOptions);
      var scriptArg = script == null ? package : '$package:$script';
      List<String> args = ['global', 'run', scriptArg];
      if (arguments != null) args.addAll(arguments);
      return runlib.run(sdkBin('pub'), arguments: args, runOptions: runOptions);
    }
  