Merge pull request #3274 from gombaniro/improvement/make-TestSet-on-map-self-contained

breaks dependency on TestNewBeeMap Testcase
This commit is contained in:
astaxie 2018-08-07 10:02:29 +08:00 committed by GitHub
commit 58fe012446
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}