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' {
19
19
$out.name | Should - BeExactly ' resourceId'
20
20
$out.minArgs | Should - Be 2
21
21
$out.maxArgs | Should - Be 2
22
- $out.acceptedArgTypes | Should - Be @ (' String' )
22
+ $out.returnTypes | Should - Be @ (' String' )
23
23
$out.description | Should -Not - BeNullOrEmpty
24
24
}
25
25
}
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ Describe 'tests for function expressions' {
155
155
$out = dsc - l trace config get - i $config_yaml 2> $TestDrive / error.log | ConvertFrom-Json
156
156
if ($isError ) {
157
157
$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 '
159
159
} else {
160
160
$LASTEXITCODE | Should - Be 0 - Because (Get-Content $TestDrive / error.log - Raw)
161
161
($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 {
263
263
pub min_args : usize ,
264
264
#[ serde( rename = "maxArgs" ) ]
265
265
pub max_args : usize ,
266
- #[ serde( rename = "returnType " ) ]
266
+ #[ serde( rename = "returnTypes " ) ]
267
267
pub return_types : Vec < FunctionArgKind > ,
268
268
}
269
269
You can’t perform that action at this time.
0 commit comments