completed list-type to array-type conversion and fixed common test module
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ func Equal(value1, value2 any) (equal bool) {
|
||||
equal = false
|
||||
} else if boolean.IsBool(value1) && boolean.IsBool(value2) {
|
||||
equal = value1.(bool) == value2.(bool)
|
||||
} else if array.IsList(value1) && array.IsList(value2) {
|
||||
} else if array.IsArray(value1) && array.IsArray(value2) {
|
||||
ls1 := value1.(*array.ArrayType)
|
||||
ls2 := value2.(*array.ArrayType)
|
||||
equal = ls1.Equals(*ls2)
|
||||
|
||||
Reference in New Issue
Block a user