Skip to content

Commit 236898a

Browse files
Wrap Export-Yaml tests in module-level describe
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 4690b38 commit 236898a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/Export-Yaml.Tests.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ BeforeAll {
1515
. (Join-Path $PSScriptRoot 'TestBootstrap.ps1')
1616
}
1717

18-
Describe 'Export-Yaml' {
18+
Describe 'Yaml' {
19+
Describe 'Export-Yaml' {
1920
Context 'Command contract' {
2021
It 'declares pipeline, ShouldProcess, and output metadata' {
2122
$command = Get-Command -Name Export-Yaml
@@ -39,6 +40,7 @@ Describe 'Export-Yaml' {
3940
$command.Parameters['Encoding'].Attributes.ValidValues |
4041
Should -Be @('utf8', 'utf8BOM', 'utf16LE', 'utf16BE', 'utf32LE', 'utf32BE')
4142
$command.Parameters['NewLine'].Attributes.ValidValues | Should -Be @('LF', 'CRLF')
43+
}
4244
}
4345

4446
It 'provides complete command help' {

0 commit comments

Comments
 (0)