anchor.diff:      fail('Must call createFormatterExecutable() before running commands.');
     }
   
  -  return TestProcess.start(_formatterExecutablePath, args ?? <String>[],
  +  return TestProcess.start(
  +      Platform.resolvedExecutable, [_formatterExecutablePath, ...?args],
         workingDirectory: d.sandbox);
   }
   
  
positive.code:         '${compileResult.stderr}');
    }
  
    return executable;
  }
  
  /// Attempts to delete to temporary directory created for [executable] by
  /// [_createSnapshot()].
  Future<void> _deleteExecutable(String executable) async {
    try {
      await Directory(p.dirname(executable)).delete(recursive: true);
    } on IOException {
      // Do nothing if we failed to delete it. The OS will eventually clean it
      // up.
  
negative.code:     fail('Must call createCommandExecutable() before running commands.');
    }
  
    return TestProcess.start(
        Platform.resolvedExecutable, [_commandExecutablePath, 'format', ...?args],
        workingDirectory: d.sandbox);
  }
  
  