mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Coverage tests for utils
This commit is contained in:
committed by
Dan Christian Bogos
parent
323046e416
commit
4d568cb498
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
package utils
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"reflect"
|
||||
"regexp"
|
||||
"strings"
|
||||
@@ -378,13 +377,10 @@ func TestAppend2(t *testing.T) {
|
||||
dn.Type = NMMapType
|
||||
dn.Slice = nil
|
||||
dn.Map = map[string]*DataNode{}
|
||||
dnExpect := NewDataNode(testPath)
|
||||
|
||||
if _, err := dn.Append(testPath, val1); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
fmt.Println(ToJSON(dn.Map["0"]))
|
||||
fmt.Println(ToJSON(dnExpect))
|
||||
|
||||
///
|
||||
dn.Type = NMSliceType
|
||||
|
||||
Reference in New Issue
Block a user