Skip to content

Commit d6fee79

Browse files
Refactor Meta property in test setup to use ordered hashtable for consistent key order
1 parent 5bc2ab3 commit d6fee79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Json.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Describe 'Module' {
5050
[PSCustomObject]@{ Id = 1; Value = 'One' },
5151
[PSCustomObject]@{ Id = 2; Value = 'Two' }
5252
)
53-
Meta = @{ Active = $true; Count = 2 }
53+
Meta = [ordered]@{ Active = $true; Count = 2 }
5454
}
5555

5656
LogGroup 'Pretty JSON' {

0 commit comments

Comments
 (0)