mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Removed warnings from go staticcheck
This commit is contained in:
committed by
Dan Christian Bogos
parent
529430bd4d
commit
c2dacc42c1
@@ -56,7 +56,6 @@ func TestListenAndServe(t *testing.T) {
|
||||
cfgRld := make(chan struct{}, 1)
|
||||
cfgRld <- struct{}{}
|
||||
go func() {
|
||||
time.Sleep(10)
|
||||
stopChan <- struct{}{}
|
||||
}()
|
||||
var err error
|
||||
|
||||
@@ -211,6 +211,9 @@ func TestHTTPJsonMapPrepareMap(t *testing.T) {
|
||||
t.Error(err)
|
||||
}
|
||||
body, err := json.Marshal(valMp)
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
exp := &HTTPPosterRequest{
|
||||
Header: httpEE.hdr,
|
||||
Body: body,
|
||||
|
||||
Reference in New Issue
Block a user