Skip to content

Commit a3025c7

Browse files
Wrap Import-Yaml tests in module-level describe
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 9de18e7 commit a3025c7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/Import-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 'Import-Yaml' {
18+
Describe 'Yaml' {
19+
Describe 'Import-Yaml' {
1920
Context 'Command contract' {
2021
It 'declares the Path and LiteralPath parameter sets' {
2122
$command = Get-Command -Name Import-Yaml
@@ -38,6 +39,7 @@ Describe 'Import-Yaml' {
3839
$command.Parameters['LiteralPath'].Aliases | Should -Contain 'PSPath'
3940
$command.Parameters['LiteralPath'].Aliases | Should -Contain 'FullName'
4041
$command.OutputType.Type | Should -Contain ([object])
42+
}
4143
}
4244

4345
It 'provides complete command help' {

0 commit comments

Comments
 (0)