@@ -67,8 +67,8 @@ Describe 'Default Shell Configuration Tests' -Skip:(!$IsWindows) {
6767
6868 $result = $output | ConvertFrom-Json
6969 $result.shell | Should - Be $testShell
70- $result.cmd_option | Should - BeNullOrEmpty
71- $result.escape_arguments | Should - BeNullOrEmpty
70+ $result.cmdOption | Should - BeNullOrEmpty
71+ $result.escapeArguments | Should - BeNullOrEmpty
7272 }
7373
7474 It ' Should get default shell with args when registry value exists' {
@@ -83,8 +83,8 @@ Describe 'Default Shell Configuration Tests' -Skip:(!$IsWindows) {
8383
8484 $result = $output | ConvertFrom-Json
8585 $result.shell | Should - Be $testShell
86- $result.cmd_option | Should - Be " /c"
87- $result.escape_arguments | Should - Be $false
86+ $result.cmdOption | Should - Be " /c"
87+ $result.escapeArguments | Should - Be $false
8888 }
8989
9090 It ' Should handle empty default shell registry values' - Skip:(! $IsWindows ) {
@@ -93,8 +93,8 @@ Describe 'Default Shell Configuration Tests' -Skip:(!$IsWindows) {
9393
9494 $result = $output | ConvertFrom-Json
9595 $result.shell | Should - BeNullOrEmpty
96- $result.cmd_option | Should - BeNullOrEmpty
97- $result.escape_arguments | Should - BeNullOrEmpty
96+ $result.cmdOption | Should - BeNullOrEmpty
97+ $result.escapeArguments | Should - BeNullOrEmpty
9898 }
9999 }
100100
@@ -104,8 +104,8 @@ Describe 'Default Shell Configuration Tests' -Skip:(!$IsWindows) {
104104
105105 $inputConfig = @ {
106106 shell = $testShell
107- cmd_option = " /c"
108- escape_arguments = $false
107+ cmdOption = " /c"
108+ escapeArguments = $false
109109 } | ConvertTo-Json
110110
111111 sshdconfig set -- input $inputConfig
@@ -157,8 +157,8 @@ Describe 'Default Shell Configuration Tests' -Skip:(!$IsWindows) {
157157 It ' Should maintain configuration consistency between set and get' {
158158 $originalConfig = @ {
159159 shell = " C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
160- cmd_option = " /c"
161- escape_arguments = $true
160+ cmdOption = " /c"
161+ escapeArguments = $true
162162 }
163163 $inputJson = $originalConfig | ConvertTo-Json
164164
@@ -171,8 +171,8 @@ Describe 'Default Shell Configuration Tests' -Skip:(!$IsWindows) {
171171 $retrievedConfig = $getOutput | ConvertFrom-Json
172172
173173 $retrievedConfig.shell | Should - Be $originalConfig.shell
174- $retrievedConfig.cmd_option | Should - Be $originalConfig.cmd_option
175- $retrievedConfig.escape_arguments | Should - Be $originalConfig.escape_arguments
174+ $retrievedConfig.cmdOption | Should - Be $originalConfig.cmdOption
175+ $retrievedConfig.escapeArguments | Should - Be $originalConfig.escapeArguments
176176 }
177177 }
178178
0 commit comments