completed list-type to array-type conversion and fixed common test module
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ const (
|
||||
)
|
||||
|
||||
func checkStringParamExpected(funcName string, paramValue any, paramPos int) (err error) {
|
||||
if !(str.IsString(paramValue) /*|| isList(paramValue)*/) {
|
||||
if !(str.IsString(paramValue) /*|| isArray(paramValue)*/) {
|
||||
err = fmt.Errorf("%s(): param nr %d has wrong type %s, string expected", funcName, paramPos+1, kern.TypeName(paramValue))
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user