Skip to content

Commit 610f129

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

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/Format-Yaml.Tests.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ BeforeAll {
3333
}
3434
}
3535

36-
Describe 'Format-Yaml' {
36+
Describe 'Yaml' {
37+
Describe 'Format-Yaml' {
3738
Context 'Public contract' {
3839
It 'exposes the advanced string formatter contract' {
3940
$command = Get-Command -Name Format-Yaml
@@ -54,6 +55,7 @@ Describe 'Format-Yaml' {
5455
@($command.OutputType.Type) | Should -Contain ([string])
5556
$indentRange.MinRange | Should -Be 2
5657
$indentRange.MaxRange | Should -Be 9
58+
}
5759
}
5860

5961
It 'emits exactly one string without CR or a final newline' {

0 commit comments

Comments
 (0)