Change File.Create to File.OpenWrite in TarReaderAsyncTests for consistency

Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-12 12:09:12 +00:00
parent 90c8ff8650
commit 95c409d979

View File

@@ -92,7 +92,7 @@ public class TarReaderAsyncTests : ReaderTests
}
var destinationFileName = Path.Combine(destdir, file.NotNull());
using var fs = File.Create(destinationFileName);
using var fs = File.OpenWrite(destinationFileName);
await entryStream.CopyToAsync(fs);
}
}