[#22] Support string type in stack parameter converter
Set type of stack parameter to StringType in type-switch statement of toStackParameter function. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
5affabfad0
commit
54bdeb60a1
2 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,10 @@ func TestToStackParameter(t *testing.T) {
|
|||
value: int64(100),
|
||||
expType: sc.IntegerType,
|
||||
},
|
||||
{
|
||||
value: "hello world",
|
||||
expType: sc.StringType,
|
||||
},
|
||||
}
|
||||
|
||||
for _, item := range items {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue