mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Versioning fix
This commit is contained in:
@@ -92,14 +92,14 @@ func TestIsEmpty(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestMapStringToInt64(t *testing.T){
|
||||
t1:=map[string]int64{"test":int64(21)}
|
||||
t2:=map[string]string{"test":"21"}
|
||||
t3,err:=MapStringToInt64(t2)
|
||||
if err!=nil{
|
||||
t.Error("Got Error: ",err)
|
||||
func TestMapStringToInt64(t *testing.T) {
|
||||
t1 := map[string]int64{"test": int64(21)}
|
||||
t2 := map[string]string{"test": "21"}
|
||||
t3, err := MapStringToInt64(t2)
|
||||
if err != nil {
|
||||
t.Error("Got Error: ", err)
|
||||
}
|
||||
if !reflect.DeepEqual(t1,t3){
|
||||
if !reflect.DeepEqual(t1, t3) {
|
||||
t.Errorf("Expecting: %+v, received: %+v", t1, t3)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user