anchor.diff:      try {
         if ((result.stderr as String).isNotEmpty) {
           throw FormatException(
  -            '`pub outdated --mode=null-safety` exited with exit code '
  +            '`$_pubName outdated --mode=null-safety` exited with exit code '
               '${result.exitCode} and stderr:\n\n${result.stderr}');
         }
         var outdatedOutput = jsonDecode(result.stdout as String);
  
positive.code:   DependencyChecker(this._pathContext, this._logger, this._processManager);
  
    bool check() {
      var pubPath = _pathContext.join(getSdkPath(), 'bin', 'pub');
      var result = _processManager
          .runSync(pubPath, ['outdated', '--mode=null-safety', '--json']);
  
  
negative.code:       return object;
      }
      throw FormatException(
          'Unexpected `$_pubName outdated` JSON output: expected a '
          '$T at "$errorKey", but got a ${object.runtimeType}',
          object);
    }
  