Skip to content

Commit 4690b38

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

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/ConvertTo-Yaml.Tests.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ namespace YamlTests
114114
}
115115
}
116116

117-
Describe 'ConvertTo-Yaml' {
117+
Describe 'Yaml' {
118+
Describe 'ConvertTo-Yaml' {
118119
Context 'Supported values' {
119120
It 'serializes mappings, sequences, and core scalars to valid YAML' {
120121
$inputObject = [ordered]@{
@@ -124,6 +125,7 @@ Describe 'ConvertTo-Yaml' {
124125
ratio = 1.5
125126
nothing = $null
126127
items = @('one', 'two')
128+
}
127129
}
128130

129131
$yaml = ConvertTo-Yaml -InputObject $inputObject

0 commit comments

Comments
 (0)