Skip to content

Commit 471b4aa

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

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/Remove-YamlEntry.Tests.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ BeforeAll {
155155
}
156156
}
157157

158-
Describe 'Remove-YamlEntry' {
158+
Describe 'Yaml' {
159+
Describe 'Remove-YamlEntry' {
159160
Context 'Public contract' {
160161
It 'exposes one advanced string transformation contract' {
161162
$command = Get-Command -Name Remove-YamlEntry
@@ -198,6 +199,7 @@ Describe 'Remove-YamlEntry' {
198199
$help.Synopsis | Should -Not -BeNullOrEmpty
199200
$help.Description.Text | Should -Match 'JSON Pointer'
200201
@($help.Examples.Example).Count | Should -BeGreaterOrEqual 3
202+
}
201203
}
202204

203205
It 'separates one-document and all-document selection' {

0 commit comments

Comments
 (0)