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

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

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/1127
Author: @Copilot
Created: 1/12/2026
Status: Merged
Merged: 1/12/2026
Merged by: @adamhathcock

Base: adam/asyncHead: copilot/sub-pr-1121-yet-again


📝 Commits (2)

  • 3a63653 Initial plan
  • f4b1780 Rename async test methods to use _Async suffix instead of _Sync

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 tests/SharpCompress.Test/Zip/ZipArchiveAsyncTests.cs (+2 -2)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/adamhathcock/sharpcompress/pull/1127 **Author:** [@Copilot](https://github.com/apps/copilot-swe-agent) **Created:** 1/12/2026 **Status:** ✅ Merged **Merged:** 1/12/2026 **Merged by:** [@adamhathcock](https://github.com/adamhathcock) **Base:** `adam/async` ← **Head:** `copilot/sub-pr-1121-yet-again` --- ### 📝 Commits (2) - [`3a63653`](https://github.com/adamhathcock/sharpcompress/commit/3a636531e887495fd51c90edcb1dca307e345665) Initial plan - [`f4b1780`](https://github.com/adamhathcock/sharpcompress/commit/f4b1780d8ad0d749a1ff59b6e4aa45b90228b583) Rename async test methods to use _Async suffix instead of _Sync ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tests/SharpCompress.Test/Zip/ZipArchiveAsyncTests.cs` (+2 -2) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 22:21:07 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1557