1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-29 13:11:29 +00:00

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

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