mirror of https://github.com/astaxie/beego.git
breaks rely on TestNewBeeMap
This commit is contained in:
parent
053a075344
commit
6b62502b99
|
@ -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