[PR #1127] Fix async test method naming in ZipArchiveAsyncTests #1560

Closed
opened 2026-01-29 22:21:08 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/adamhathcock/sharpcompress/pull/1127

State: closed
Merged: Yes


Two test methods in ZipArchiveAsyncTests.cs were named with _Sync suffix despite being async methods (returning ValueTask and using await).

Changes

  • Renamed Zip_Random_Write_Remove_SyncZip_Random_Write_Remove_Async
  • Renamed Zip_Random_Write_Add_SyncZip_Random_Write_Add_Async

This aligns with the naming convention used throughout the test file where async test methods use the _Async suffix.


Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

**Original Pull Request:** https://github.com/adamhathcock/sharpcompress/pull/1127 **State:** closed **Merged:** Yes --- Two test methods in `ZipArchiveAsyncTests.cs` were named with `_Sync` suffix despite being async methods (returning `ValueTask` and using `await`). ## Changes - Renamed `Zip_Random_Write_Remove_Sync` → `Zip_Random_Write_Remove_Async` - Renamed `Zip_Random_Write_Add_Sync` → `Zip_Random_Write_Add_Async` This aligns with the naming convention used throughout the test file where async test methods use the `_Async` suffix. <!-- START COPILOT CODING AGENT TIPS --> --- ✨ Let Copilot coding agent [set things up for you](https://github.com/adamhathcock/sharpcompress/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo.
claunia added the pull-request label 2026-01-29 22:21:08 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1560