|
@@ -2,7 +2,7 @@ package maputils
|
|
|
|
|
|
import "testing"
|
|
|
|
|
|
-func TestGetValueInMap(t *testing.T) {
|
|
|
+func TestGetValueByPath(t *testing.T) {
|
|
|
testMap := map[string]any{
|
|
|
"foo1": map[string]any{
|
|
|
"foo1_sub": []any{
|
|
@@ -30,7 +30,7 @@ func TestGetValueInMap(t *testing.T) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-func TestGetValue(t *testing.T) {
|
|
|
+func TestGetValueByKey(t *testing.T) {
|
|
|
testMap := map[string]any{
|
|
|
"foo1": map[string]any{
|
|
|
"foo1_sub": []any{
|