Skip to content

Commit d2efc83

Browse files
Wrap Test-Yaml tests in module-level describe
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 471b4aa commit d2efc83

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/Test-Yaml.Tests.ps1

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

18-
Describe 'Test-Yaml' {
18+
Describe 'Yaml' {
19+
Describe 'Test-Yaml' {
1920
It 'returns true for valid YAML and an empty stream' {
2021
('name: Ada' | Test-Yaml) | Should -BeTrue
2122
('' | Test-Yaml) | Should -BeTrue
23+
}
2224
}
2325

2426
It 'joins pipeline lines consistently with ConvertFrom-Yaml' {

0 commit comments

Comments
 (0)