util files moved form kern to util package
This commit is contained in:
+2
-1
@@ -10,6 +10,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"git.portale-stac.it/go-pkg/expr/kern"
|
||||
"git.portale-stac.it/go-pkg/expr/util"
|
||||
)
|
||||
|
||||
func TestIsString(t *testing.T) {
|
||||
@@ -161,7 +162,7 @@ func TestAnyInteger(t *testing.T) {
|
||||
func TestCopyMap(t *testing.T) {
|
||||
source := map[string]int{"one": 1, "two": 2, "three": 3}
|
||||
dest := make(map[string]int)
|
||||
result := kern.CopyMap(dest, source)
|
||||
result := util.CopyMap(dest, source)
|
||||
if !reflect.DeepEqual(result, source) {
|
||||
t.Errorf("utils.CopyMap() failed")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user