mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 03:41:28 +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:
commit
58fe012446
@ -26,6 +26,7 @@ func TestNewBeeMap(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestSet(t *testing.T) {
|
func TestSet(t *testing.T) {
|
||||||
|
safeMap = NewBeeMap()
|
||||||
if ok := safeMap.Set("astaxie", 1); !ok {
|
if ok := safeMap.Set("astaxie", 1); !ok {
|
||||||
t.Error("expected", true, "got", false)
|
t.Error("expected", true, "got", false)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user