PowerShell / PSResourceGet

PSResourceGet is the package manager for PowerShell
https://www.powershellgallery.com/packages/Microsoft.PowerShell.PSResourceGet
MIT License
479 stars 90 forks source link

Add test for save script using `Save-PSResource` without `-IncludeXml` #1613

Closed o-l-a-v closed 3 months ago

o-l-a-v commented 3 months ago

PR Summary

Add test for #1609

Which probably broke when fixing #1335

PR Context

Add test "Save script without using -IncludeXML" for saving script using Save-PSResource without -IncludeXml.

Also fix typo and missing -IncludeXml in existing test "Save script using -IncludeXML".

PR Checklist

o-l-a-v commented 3 months ago

@microsoft-github-policy-service agree

o-l-a-v commented 3 months ago

@anamnavi : @SydneyhSmith told me to put tests into #1614 in https://github.com/PowerShell/PSResourceGet/pull/1614#issuecomment-2040349595. So close this PR and continue in mentioned PR?

anamnavi commented 3 months ago

@o-l-a-v ah yes, I missed that earlier. I'll close this PR. And add the comments from this to that PR.