File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Describe 'Tests for function list subcommand' {
1919 $out.name | Should - BeExactly ' resourceId'
2020 $out.minArgs | Should - Be 2
2121 $out.maxArgs | Should - Be 2
22- $out.acceptedArgTypes | Should - Be @ (' String' )
22+ $out.returnTypes | Should - Be @ (' String' )
2323 $out.description | Should -Not - BeNullOrEmpty
2424 }
2525}
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ Describe 'tests for function expressions' {
155155 $out = dsc - l trace config get - i $config_yaml 2> $TestDrive / error.log | ConvertFrom-Json
156156 if ($isError ) {
157157 $LASTEXITCODE | Should - Be 2 - Because (Get-Content $TestDrive / error.log - Raw)
158- (Get-Content $TestDrive / error.log - Raw) | Should -Match ' Invalid item to find, must be a string or number '
158+ (Get-Content $TestDrive / error.log - Raw) | Should -Match ' accepted types are: String, Number '
159159 } else {
160160 $LASTEXITCODE | Should - Be 0 - Because (Get-Content $TestDrive / error.log - Raw)
161161 ($out.results [0 ].result.actualState.output | Out-String ) | Should - BeExactly ($expected | Out-String )
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ pub struct FunctionDefinition {
263263 pub min_args : usize ,
264264 #[ serde( rename = "maxArgs" ) ]
265265 pub max_args : usize ,
266- #[ serde( rename = "returnType " ) ]
266+ #[ serde( rename = "returnTypes " ) ]
267267 pub return_types : Vec < FunctionArgKind > ,
268268}
269269
You can’t perform that action at this time.
0 commit comments