Skip to content

use VerifyXml#15247

Draft
SimonCropp wants to merge 1 commit intomicrosoft:mainfrom
SimonCropp:use-VerifyXml
Draft

use VerifyXml#15247
SimonCropp wants to merge 1 commit intomicrosoft:mainfrom
SimonCropp:use-VerifyXml

Conversation

@SimonCropp
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 14, 2026 12:24
@github-actions
Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15247

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15247"

@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Mar 14, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Aspire CLI snapshot tests to use Verify’s dedicated XML verifier helper, improving XML snapshot handling consistency across the test suite.

Changes:

  • Replace Verify(..., extension: "xml") with VerifyXml(...) in project migration/update snapshots.
  • Replace Verify(..., extension: "xml") with VerifyXml(...) in NuGet.config merger snapshot tests.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tests/Aspire.Cli.Tests/Projects/ProjectUpdaterTests.cs Switches csproj snapshot assertions to VerifyXml for XML-specific verification.
tests/Aspire.Cli.Tests/Packaging/NuGetConfigMergerSnapshotTests.cs Switches NuGet.config XML snapshot assertions to VerifyXml, preserving existing .UseFileName(...) usage.

@SimonCropp SimonCropp marked this pull request as draft March 14, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants