Skip to content

Commit 4a9bbce

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

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/ConvertFrom-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 'ConvertFrom-Yaml' {
18+
Describe 'Yaml' {
19+
Describe 'ConvertFrom-Yaml' {
1920
Context 'YAML 1.2 core schema' {
2021
It 'resolves <Text> as <Type>' -ForEach @(
2122
@{ Text = ''; Type = 'null'; Expected = $null }
@@ -39,6 +40,7 @@ Describe 'ConvertFrom-Yaml' {
3940
$result.value | Should -Be $Expected
4041
if ($Type -ne 'null') {
4142
$result.value.GetType().Name | Should -Be $Type
43+
}
4244
}
4345
}
4446

0 commit comments

Comments
 (0)