diff --git a/utils/safemap_test.go b/utils/safemap_test.go index b3aa0896..65085195 100644 --- a/utils/safemap_test.go +++ b/utils/safemap_test.go @@ -26,6 +26,7 @@ func TestNewBeeMap(t *testing.T) { } func TestSet(t *testing.T) { + safeMap = NewBeeMap() if ok := safeMap.Set("astaxie", 1); !ok { t.Error("expected", true, "got", false) }