mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Added tests to utis
This commit is contained in:
committed by
Dan Christian Bogos
parent
ae76b8af50
commit
6923d1675e
@@ -1511,3 +1511,10 @@ func TestIsURL(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestComputeHash(t *testing.T) {
|
||||
_, err := ComputeHash("test1;test2;test3")
|
||||
if err != nil {
|
||||
t.Errorf("Expecting: <nil>, received: %+v", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user