Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor PluginDiscovererTests.cs #6257

Merged
merged 4 commits into from
Feb 7, 2025

Conversation

Nigusu-Allehu
Copy link
Contributor

@Nigusu-Allehu Nigusu-Allehu commented Feb 6, 2025

Bug

Fixes: NuGet/Home#13975

Description

Refactored tests in PluginDiscovererTests.cs to remove duplication by introducing the SetFileExecutable(path, executable) method. This method ensures all tests consistently set and unset executable permissions on Linux.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@Nigusu-Allehu Nigusu-Allehu self-assigned this Feb 6, 2025
@Nigusu-Allehu Nigusu-Allehu marked this pull request as ready for review February 6, 2025 23:02
@Nigusu-Allehu Nigusu-Allehu requested a review from a team as a code owner February 6, 2025 23:02
@Nigusu-Allehu Nigusu-Allehu requested a review from jeffkl February 7, 2025 00:31
jeffkl
jeffkl previously approved these changes Feb 7, 2025
@Nigusu-Allehu Nigusu-Allehu merged commit b248a36 into dev Feb 7, 2025
22 of 23 checks passed
@Nigusu-Allehu Nigusu-Allehu deleted the dev-nyenework-plugindiscorytests branch February 7, 2025 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Address comments in Implement Support for NuGet Authentication Plugins as .NET Tools PR
3 participants